[Mastering-perl] Contexts
brian d foy
brian.d.foy at gmail.com
Tue May 2 11:12:34 EDT 2006
On 5/2/06, Florian Merges <fmerges at cpan.org> wrote:
> Think would be more easy to understand the:
>
> my $n = ( 1, 2, 3 );
>
> providing also something like:
>
> my $n = (1, 2, "Hello!");
I could add an example like that, but in that case people usually see
the problem right away because they know that they only got one
element out of the list. In the cases where I've seen this as a
problem, people get a number out and they boogle about that as they
try to debug it.
> And then there is an error on:
There are a lot of minor errors. :)
Thanks :)
More information about the Mastering-perl
mailing list