in reply to Re: Why doesn't this work?in thread Why doesn't this work?
DB<178> open $fh,"<",\"1\0 2\0 3" DB<179> print scalar do {local $/="\0"; () = <$fh> } 3 [download]
perl -e '$/="\0"; print $a=()=<>' [download]
Cheers Rolf
( addicted to the Perl Programming Language)
{local $/="\0"; () = <$fh>; print $.} [download]