in reply to Printing Array with quote and comma
Hi,
In one line:
perl -e '@a = qw(book dog cat); print "[".join(",",@a)."];\n";'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printing Array with quote and comma
by reasonablekeith (Deacon) on Oct 05, 2005 at 09:53 UTC | |
by gargle (Chaplain) on Oct 05, 2005 at 11:39 UTC |