in reply to Re: question about perl
in thread How do I change the shebang line for all perl scripts in a directory
If you change this:
To this:
It will work, but make all of your *.pl files say nothing but #!/usr/local/bin/perl. Thought I'd point that out.
-- Yes, I am a criminal. My crime is that of defyance.
my @files = `find . -name "*.pl";
To this:
my @files = `find . -name "*.pl"`;
It will work, but make all of your *.pl files say nothing but #!/usr/local/bin/perl. Thought I'd point that out.
-- Yes, I am a criminal. My crime is that of defyance.
|
---|
In Section
Seekers of Perl Wisdom