unary + doesn't do the job as tybalt89 shows.print "".( () = /;/g ); #prints "3"
why not just?:
print tr/;//;
In reply to Re: u+ fails to force scalar context to empty list assignment: +( () = ... )
by Marshall
in thread u+ fails to force scalar context to empty list assignment: +( () = ... )
by rsFalse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |