in reply to Forcing array context on a file handle
my $lines =()= <$file>;
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
|
---|
In Section
Seekers of Perl Wisdom
in reply to Forcing array context on a file handle
my $lines =()= <$file>;
|
---|