Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2016-12-06 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (118 votes). Check out past polls.