Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1013862]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found