|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^3: adding wtmp script into logwatchby NetWallah (Monsignor) |
| on Dec 01, 2011 at 00:45 UTC ( #940979=note: print w/ replies, xml ) | Need Help?? |
|
What I meant was : Get rid of the "perl -we" entirely. This includes the single quotes after "perl -we", and the matching one at the end of the program. The reason for this is that , for some reason, for this script, your system is invoking the perl interpreter automatically, instead of the expected bash (or other) shell. And 'perl' does not like a program content to start with 'perl -we'. "XML is like violence: if it doesn't solve your problem, use more."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||