Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Seeking guidance for more idiomatic way of (re)writing this script.

by wfsp (Abbot)
on Jan 17, 2013 at 19:21 UTC ( #1013862=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Seeking guidance for more idiomatic way of (re)writing this script.
in thread Seeking guidance for more idiomatic way of (re)writing this script.

topher++

I'd consider having

else { die "send_mail - bad type: $type\n" }
at the end.


Comment on Re^3: Seeking guidance for more idiomatic way of (re)writing this script.
Download Code
Re^4: Seeking guidance for more idiomatic way of (re)writing this script.
by topher (Scribe) on Jan 18, 2013 at 00:25 UTC

    Excellent suggestion; I should have thought to include something like that.

    I'll update the function to include it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2014-10-01 21:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (40 votes), past polls