Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Adding 2 + 2

by shmem (Canon)
on Jan 30, 2007 at 16:49 UTC ( #597406=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $result = 2 + 2;
    print "the answer is $result\n";
    
  2. or download this
    print "the answer is @{[2+2]}\n";