go ahead... be a heretic | |
PerlMonks |
Re: New switches for perl(1)by bart (Canon) |
on Apr 22, 2003 at 06:37 UTC ( [id://252207]=note: print w/replies, xml ) | Need Help?? |
You've hardcoded your path to your perl binary in the script. Maybe that's OK, because it's hardwired in the shebang line as well... but personally, I would still prefer use of the special variable $^X, anyway. In your case, it also will contain the value '/usr/bin/perl'. But it will make less problems for maintenance, for people whose perl is in another location.
In Section
Code Catacombs
|
|