Re: Package of non-development scripts?
On Tue, Jul 17, 2001 at 08:23:32PM +1000, Rebecca Dridan wrote:
> To satisfy my curiousity, what does the -p00l12 option to perl do. I couldn't
> find the explanation in my admittedly quick skim of the perl docs.
-p is the "make a while(<>) { print $_ }" loop switch.
-0 specifies the input record seperater
-l makes print (et al) automatically terminate lines (in this case with \012).
It could be written as "perl -p -00 -l12" but that would be less exciting ;)
Ben
--
+-----Ben Bell - "A song, a perl script and the occasional silly sig.-----+
/// email: bjb@deus.net www: http://www.deus.net/~bjb/
bjb Don't try to drive me crazy...
\_/ ...I'm close enough to walk.
Reply to: