No, if( $var => 2 ) { ... } is the same as if( $var, 2 ) { ... }, and a LIST in scalar context is the last element from the list. There's nothing undefined about it.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re^2: odd =>behavior
by Fletch
in thread odd =>behavior
by tcf03
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |