On Thu, Jul 21, 2005 at 04:04:36PM -0400 Scott R. Godin wrote:
> 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. :-)
I am very very wrong ;-)...:-)
in the PS I wanted to write "Lulu".."Mamadoo" and there is a lot of
results ...
Many thanks to you all.
--
Gérard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>