in reply to more concise
in thread split this

{ local $" = "', '"; print "'@j'\n"; }

perlvar is your friend :)

Update: Well, OK. Maybe not more concise then. But, maybe easier to follow?

I think we need a shorter alias for local.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you don't talk about Perl club."

Replies are listed 'Best First'.
wc and I would call it a tie :)
by Fletch (Bishop) on Nov 06, 2001 at 18:31 UTC
    lemur:~ 404> wc print"'",join("', '",@j),"'\n"; 1 2 32 lemur:~ 405> wc {local$"="', '";print"'@j'\n";} 1 2 32