in reply to print (...) interpreted as function
IMO, the warning in question is unnecessary and should be removed if and only if it always occurs together with another warning such as useless use of foo in void context.
Does anyone know whether it's possible to trigger the 'interpreted as function' warning alone?
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: print (...) interpreted as function
by Abigail-II (Bishop) on Sep 09, 2003 at 12:08 UTC | |
by jonadab (Parson) on Sep 09, 2003 at 13:15 UTC |