Do you know where your variables are? | |
PerlMonks |
Re: Anyone know how to get cmd line perl?by CukiMnstr (Deacon) |
on Apr 18, 2002 at 22:12 UTC ( [id://160362]=note: print w/replies, xml ) | Need Help?? |
you could try adding #!/usr/bin/perl -w at the beginning of the script, then chmoding script.pl to give it execution permission, and finally: running it (./script.pl).
just as with a sh(1) script. if you want to run it as script, then name your script 'script'. Note: this is for a unix-like OS, so if someone cares to reap the node, go ahead
In Section
Seekers of Perl Wisdom
|
|