in reply to $#="%c"; possible bug

That could be why I get

[23:26:02.98] P:\test> perl -we "$#='%c'; print ord ('k'), $/;" Use of $# is deprecated at -e line 1.

from 5.8.3?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Timing (and a little luck) are everything!

Replies are listed 'Best First'.
Re: Re: $#="%c"; possible bug
by ambrus (Abbot) on Feb 20, 2004 at 23:39 UTC

    Perl 5.00503 and all others print that message too. But I don't see a note in perldoc anywhere that it would cause such disasters. It's simply depr.