Specifically what does the 'shift' bit do.
my $classname = shift;
I understand arrays, and push/pop from the end and shift/unshift from the start but I don't see where the value for $classname in the above line comes from.
Tanks Munksss.
In reply to What does the SHIFT bit do in a constructor by Fian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |