[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] YAGOLF: password generation




> >   perl -pe'$\.=chr(33+rand 93)for 0..7'

>     perl -pe'map$\.=chr 33+rand 93,0..7'

I'm having trouble with both of these actually. They work fine in a
script, but from the command line I have to hit enter. I don't think I
understand exactly what -p does.

 perl -e'map$\.=chr 33+rand 93,0..7;print'

	works fine. But the above, which I thought was equivalent, does
not. Can anybody shed any light on what I am doing wrong?

	thanks,
	joey


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe