in reply to Snarky comments on the ddj perl quiz
To add a newline to each entry (that does not already have it) as that entry is printed print "@array\n";. Answer: C.Erm, no:
$ perl -e '@array=qw(a b c d);print "@array\n"' a b c d $
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Snarky comments on the ddj perl quiz
by polettix (Vicar) on Aug 23, 2007 at 22:29 UTC |
In Section
Meditations