#!/usr/bin/perl -w use strict; my @arr = qw(book dog cat); print "[", join("," , map {qq('$_')} @arr), "];\n";
In reply to Re:Printing Array with quote and comma
by McDarren
in thread Printing Array with quote and comma
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |