|
|
| There's more than one way to do things | |
| PerlMonks |
Re: my $x or my ($x)by nferraz (Monk) |
| on Apr 04, 2006 at 18:53 UTC ( #541208=note: print w/ replies, xml ) | Need Help?? |
|
Here's a popular use of the list context:
You can mix scalars with other types:
The following example won't work as you could expect, because all the arrays will be flatenned into the same one:
The solution is to use references, but we still can use the list context:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||