Hey > The echo guarantees one (empty) line to the script. And 'echo|' > is 1 shorter than ';print', although it's a little less unportable, > as Ronald Kimball pointed out (it doesn't work in tcsh). > > Hope this answered your questions about -p. Yes, thank you. :) (except the echo| didn't work for my code.) Have we got anything shorter than (38)? (38) ===> perl -le'print substr crypt(rand,0),5' (40) ===> perl -le'$_=crypt rand,0;s/.{5}//;print' (41) ===> perl -le'print substr crypt(rand,$$),2,8' Is anyone maintaining a page of these, along with the progression? joey ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe