unixguy has asked for the wisdom of the Perl Monks concerning the following question:
Thanks1. $ echo "ella" |perl -lane 'print substr($_,0,1)' e 2. $ echo "-e" |perl -lane 'print substr($_,0,1)'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl problem with input line -e
by rubasov (Friar) on Feb 11, 2010 at 00:43 UTC |