[Edinburgh-pm] Ingorance
Andrew Smith
asmith9983 at gmail.com
Wed Mar 7 06:23:39 PST 2007
Hi guys
I was playing around with the attached test program and don't
understand why line 8 doesn't prints *"1* rather *"1 2 3"* for the
value $words[1], and just *2* for $words1[2] rather than *def*.
as it does when printing the full array. I think I understand that *qw*
puts single *'* around space delimited words which is why the double *"*
get included in element 1.
I've probably forgotten something fundamental, so your replies don't
have to be kind to my feelings.
--
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perltest1.pl
Type: application/x-perl
Size: 305 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/edinburgh-pm/attachments/20070307/23b2938e/attachment.bin
More information about the Edinburgh-pm
mailing list