
japhy
Enthusiast
/ Moderator
Aug 1, 2000, 9:38 AM
Post #7 of 8
(11799 views)
|
Sorry, kanji, but that's not true. <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> $a = ('foo'); $b = ('foo','bar'); $c = ('foo','bar','quux'); print "$a $ b $c\n"; # foo bar quux </pre><HR></BLOCKQUOTE> Lists don't exist in scalar context, and therefore, you can't get the SIZE of a list in scalar context. ------------------ Jeff "japhy" Pinyan -- accomplished author, consultant, hacker, and teacher [This message has been edited by japhy (edited 08-01-2000).]
|