Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Rewrite in a more compact way

by Bloodnok (Vicar)
on Nov 27, 2008 at 12:07 UTC ( [id://726389]=note: print w/replies, xml ) Need Help??


in reply to Rewrite in a more compact way

In addition to the excellent answers provided by corion, ysth & moritz, I may I suggest the use of a different delimiter for the 'q' operator - it took me a while to read
my $str = q{CALL DB_PROC_FOO(} . join(q{,}, @qm) . q{)};
...the braces and parens looked alike until I looked really close ... compare with
my $str = q/CALL DB_PROC_FOO(/ . join(q/,/, @qm) . q/)/;
where confusion of braces and parens is, IMO, somewhat reduced.

A user level that continues to overstate my experience :-))

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://726389]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 06:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found