in reply to Re: Passing / evaluating / dieing on one line...
in thread Passing / evaluating / dieing on one line...
Down in the subroutine, @{$_[0]}[1] will select the second element of the first parameter (as an array reference), which is close to $_[1] but still not the same thing.
--t. alex
"Here's the chocolates, and here's the flowers. Now how 'bout it, widder hen, will ya marry me?" --Foghorn Leghorn
Somehow the desire to use $_[0] within routines (or anywhere, for that matter) has never tempted me. Why not just declare and use a my variable?