> The big arrow is used in place of a ',' (comma).  Now,
> I just read in the latest Learning Perl that this is
> global (i.e..: you can replace ANY comma with it, but
> I may have misunderstood, have to re-read that again),

>>>
Almost, the following is valid:

my $couple = join " & " => qw(Husband Wife);

however, you'll note swapping the big arrow for a comma
doesn't quite work for a hash:

my %hash = ( big city,    'New York', 
             Little City, 'Mayberru'
           );

>>The special property of the => is to automatically quote
>>the LHS if it is only a single word word - provided it
>>doesn't contain certain characters (lke +-/*$%& etc) that
>>make it look like an EXPR (expression).  Then it *may*
>>be evaluted rather than simply being quoted.
>>>>>


Please explain what you meant in the above paragraph  :)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to