Gerard Robin wrote:
Hello,
the slices of hashes work strangely ...


PS
if I write:
@h3{"Mamadoo".."Lulu"} = (30, 40, 50 );
the script hangs (no error is displayed)


yes because that's not a hash slice there:

what happens when you do these: ?

perl -wle 'print "Mamadoo","Lulu"'
perl -wle 'print "Mamadoo".."Lulu"'
perl -wle 'print "Lolo".."Lulu"'

should be a big hint as to where you went wrong. :-)

see perldoc perlop and the section on the Range Operators for further details.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to