I'm often using it for setting defaults before unpacking @_ which could have 0,1 or 2 arguments
( my ($x,$y) = (42,666) ) = @_;
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^6: Not understanding 2 sentences in perldoc
by LanX
in thread Not understanding 2 sentences in perldoc
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |