Previous Thread
Next Thread
Print Thread
Rate Thread
#101422 10/08/2000 7:24 PM
Joined: Mar 2000
Posts: 445
Member
Member
Offline
Joined: Mar 2000
Posts: 445
How would I view PERL files on my computer, because when I double click on it, it shows up then quickly closes.....? I tuses DOS to open it, but it closes again?

------------------
Quality Pages designing the world professional web pages for affordable prices.

Sponsored Links
#101423 10/08/2000 7:41 PM
Joined: Aug 2000
Posts: 3,590
Likes: 1
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Likes: 1
You must have allowed ActivePerl to claim the .pl extension for itself >:0) I am not sure how you can fix it, but it is just a simple matter of changing file associations...

------------------
Da Wannabe Cannuck

#101424 10/08/2000 8:13 PM
Joined: Mar 2000
Posts: 445
Member
Member
Offline
Joined: Mar 2000
Posts: 445
Hmmm ok thanks for pointing that out atom, Mark do you have any idea on this issue?

------------------
Quality Pages designing the world professional web pages for affordable prices.

#101425 10/08/2000 8:44 PM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
View how? source code?

If source code, and you want to double click on .pl and have them open in notepad or whatever, like atom said you need to change your file association.

--mark


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
#101426 10/08/2000 11:24 PM
Joined: Mar 2000
Posts: 445
Member
Member
Offline
Joined: Mar 2000
Posts: 445
Hmmm...no I mean say I had a simple print statement, like

print "Hello World";

how would I view that on my comp? It shows it on DOS for about 1 sec, before it automatically closes.
What happens on your comp when you double click a PL file?

------------------
Quality Pages designing the world professional web pages for affordable prices.

Sponsored Links
#101427 10/09/2000 12:58 AM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
That's normal.

if you go to command line and change to the directory where the script is, then type

perl scriptname.pl

you can see the output without the window closing.

Or, run apache, then place your script in the apache cgi-bin and in your browser go to http://localhost/cgi-bin/scriptname.pl (or .cgi)

--mark


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
#101428 10/09/2000 1:12 PM
Joined: Mar 2000
Posts: 445
Member
Member
Offline
Joined: Mar 2000
Posts: 445
Hmm..ok thanks for the tip Mark...

------------------
Quality Pages designing the world professional web pages for affordable prices.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,156
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2063
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 1
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)