>>>>> ""Dr" == "Dr Ruud" <rvtol> writes:
"Dr> <quote src="perlop">
"Dr> The "=>" operator is a synonym for the comma, but forces any word to
"Dr> its left to be interpreted as a string (as of 5.001).
"Dr> </quote>
"Dr> And AFAICS that isn't true:
"Dr> $ perl -MData::Dumper -wle'
"Dr> %n = (00 => Integer, 01 => Floating, 10 => Char, 11 => Double);
"Dr> print Dumper(\%n)
"Dr> '
"Dr> $VAR1 = {
"Dr> '11' => 'Double',
"Dr> '1' => 'Floating',
"Dr> '0' => 'Integer',
"Dr> '10' => 'Char'
"Dr> };
"Dr> So I filed a bug-report about perlop.
Why? What makes 01 and 00 a "word"?
It's acting correctly. You just need the correct definition of word.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>