madmonster99 has asked for the wisdom of the Perl Monks concerning the following question:
and the error i get is this: et791:~$ ./password5.pl String found where operator expected at ./password5.pl line 3, near "lne 'print (split(/:/))[0]'" (Do you need to predeclare lne?) syntax error at ./password5.pl line 3, near "lne 'print (split(/:/))[0]'" Execution of ./password5.pl aborted due to compilation errors.#!/usr/bin/perl -lne 'print (split(/:/))[0]' /etc/passwd
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: password file problem
by thor (Priest) on Mar 11, 2005 at 19:32 UTC | |
Re: password file problem
by ikegami (Patriarch) on Mar 11, 2005 at 19:43 UTC | |
by Fletch (Bishop) on Mar 12, 2005 at 02:58 UTC | |
by ikegami (Patriarch) on Mar 12, 2005 at 15:40 UTC | |
Re: password file problem
by thedoe (Monk) on Mar 11, 2005 at 21:46 UTC | |
Re: password file problem
by sh1tn (Priest) on Mar 12, 2005 at 09:18 UTC | |
Re: password file problem
by Roy Johnson (Monsignor) on Mar 14, 2005 at 13:46 UTC |