Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re(5): Toggling between two values

by chip (Curate)
on May 05, 2003 at 20:21 UTC ( [id://255741] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    eval q{ my $foo = 1; sub bar { ++$foo } };
    print &bar, &bar, &bar;