Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: check if an element exists in array

by RecursionBane (Beadle)
on Apr 13, 2011 at 18:13 UTC ( #899260=note: print w/replies, xml ) Need Help??


in reply to Re^2: check if an element exists in array
in thread check if an element exists in array

Elegant! Does Perl automagically return the last modified variable when returning from a subroutine?
  • Comment on Re^3: check if an element exists in array

Replies are listed 'Best First'.
Re^4: check if an element exists in array
by jdporter (Canon) on Apr 13, 2011 at 18:42 UTC

    "Last modified variable"? No, it returns the value of the last evaluated expression.