Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Perl oddities

by bart (Canon)
on Mar 01, 2005 at 22:40 UTC ( #435642=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print -M($0) + 1;
    
  2. or download this
    print -M ($0 + 1);
    
  3. or download this
    print +(-M $0)+1;