Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: "if" and compound statement

by educated_foo (Vicar)
on Feb 13, 2012 at 16:07 UTC ( #953487=note: print w/ replies, xml ) Need Help??


in reply to "if" and compound statement

You can combine statements with "do", like so:

do { statement; statement } if $condition;


Comment on Re: "if" and compound statement
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2015-07-28 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (259 votes), past polls