|
|
|
|
Joined: Mar 2000
Posts: 445
Member
|
|
Member
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.
|
|
|
|
|
Joined: Aug 2000
Posts: 3,590 Likes: 1
Moderator
|
|
Moderator
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
|
|
|
|
|
Joined: Mar 2000
Posts: 445
Member
|
|
Member
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.
|
|
|
|
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
|
P.I.T.A. / Programmer
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
|
|
|
|
|
Joined: Mar 2000
Posts: 445
Member
|
|
Member
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.
|
|
|
|
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
|
P.I.T.A. / Programmer
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
|
|
|
|
|
Joined: Mar 2000
Posts: 445
Member
|
|
Member
Joined: Mar 2000
Posts: 445 |
Hmm..ok thanks for the tip Mark... ------------------ Quality Pages designing the world professional web pages for affordable prices.
|
|
|
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.
|
|
Posts: 1,156
Joined: July 2001
|
|
|
Forums63
Topics37,583
Posts293,957
Members13,826
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 2063
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 1
|
|
|
|
|
|