ysth has asked for the wisdom of the Perl Monks concerning the following question:
as does this:perl -e'open FOO, "/dev/null"; use warnings; undef=~/bar/'
but this is strangely silent:perl -e'open FOO, "/dev/null"; $x=scalar <FOO>; use warnings; $x=~/bar +/'
Can anyone offer an explanation?perl -e'open FOO, "/dev/null"; use warnings; <FOO>=~/bar/'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: matching against failed readline doesn't warn?
by tilly (Archbishop) on Apr 08, 2004 at 06:33 UTC | |
by Abigail-II (Bishop) on Apr 08, 2004 at 09:14 UTC | |
|
Re: matching against failed readline doesn't warn?
by sgifford (Prior) on Apr 08, 2004 at 16:43 UTC |