Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: If/Else statement in subroutine. How do i place it?

by athomason (Curate)
on Sep 04, 2000 at 07:48 UTC ( [id://30962]=note: print w/replies, xml ) Need Help??


in reply to If/Else statement in subroutine. How do i place it?

What's your question? Provided that yes and not are defined subs which do the appropriate things, this looks fine. If this code breaks, you'll need to provide more context (calling code, warnings, errors) before we can help.

Originally posted as a Categorized Answer.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-25 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found