http://www.perlmonks.org?node_id=899260


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 (Paladin) on Apr 13, 2011 at 18:42 UTC

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