Hi, I always used PERL in UNIX environment, so it's my
Hello
first time trying to run a PERL script in Windows env and I have a simple question to ask, (I know how to do this in UNIX but not in windows).
I installed PERL for Windows under: C:\Z_Perl_584\Perl\bin my below simple PERL script is called "simple.PL".
#!C:\Z_Perl_584\Perl\bin sub first() ; sub first() { print( "Hello World\n" ) ; }
1- is my !# correct?
Winders uses file extension association, so you don't even need a she bang tachnically
2- what command do I use to run the simple.pl?
perl simple.pl
3- is Win-DOS prompt the only place to run it from?
No, you can double click the file and it will execute as long as the file extention is associated
thanks so much,
No problem,
HTH - Lee.M - JupiterHost.Net
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>