in reply to Re: Perl's Bad Ideas
in thread Perl's Bad Ideas
5. *sigh* yeah the sigil thing is hard on beginners, now however I am not happy about having to switch back... In some ways it does make sense as well, $ is scalar and you're getting a single element (scalar) out. Slices use @ denoting multiple elements returned.
6. Why? Implementation, or too much for one operator?
--
perl -pe "s/\b;([st])/'\1/mg"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl's Bad Ideas
by Dominus (Parson) on Apr 07, 2002 at 01:01 UTC | |
by belg4mit (Prior) on Apr 07, 2002 at 01:10 UTC | |
by clintp (Curate) on Apr 07, 2002 at 03:44 UTC |