Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Appending to variable with a switch statement?

by Joost (Canon)
on Jan 06, 2007 at 21:26 UTC ( [id://593338]=note: print w/replies, xml ) Need Help??


in reply to Appending to variable with a switch statement?

Since you don't care about what's in %A, you don't really need a case statement.

$responseXML .= sloven('xml') for keys %A;
or even
$responseXML .= ( sloven('xml') x scalar keys %A);
if sloven('xml') has no side effects.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2024-04-23 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found