in reply to $_ works, $my_variable doesn't?
Note that the later regexen aren't applying to $one_line, but rather $_. Oops!$ perl -MO=Deparse,-p -e '$one_line =~ /a/i && /e/i && /i/i && /o/i && + /u/i' ((((($one_line =~ /a/i) and /e/i) and /i/i) and /o/i) and /u/i); ...
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: $_ works, $my_variable doesn't?
by C_T (Scribe) on Mar 29, 2004 at 22:29 UTC |