in reply to commandline and script behavior differs

You don't use strict on the commandline, that's why. Try:

perl -Mstrict -we '@a=(a..z,A..Z); print $a[rand @a]'
--
http://fruiture.de

Replies are listed 'Best First'.
Re: Re: commandline and script behavior differs
by physi (Friar) on Feb 10, 2003 at 11:37 UTC
    ohhh my god !!!!

    Thanks for that ;-)

    -----------------------------------
    --the good, the bad and the physi--
    -----------------------------------