Let's say I call a function called foo thusly...
Inside foo(), I'd like to be able to determine that $_[0] is a variable (and thus an lvalue) and that $_[1] is a constant (and thus not an lvalue). Any ideas on how?foo($a, "b");
In reply to How do you tell if a sub argument is an lvalue? by rsmah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |