Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by topher (Scribe)
on Jan 17, 2013 at 00:14 UTC ( #1013665=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open( my $fh, "<", $array_ip_list )
      or send_mail("ip_list_error"),
    ...
        # [ Clean up after ourselves, delete our temp file, etc. ]
        die "Something went wrong.";
    }
    
  2. or download this
    # Expects at least 1 argument matching the type of e-mail to send, and
    # optionally the additional arguments it might need.  If this got much
    ...
        # This will send our e-mail, regardless of which one we built.
        $msg->send;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013665]
help
Chatterbox?
[Corion]: ambrus: I did that in 2012 and 2013, to try it out, and I found the available time to be worth more to me than the money
[Corion]: I've started that again this month (now forever instead of a limited time), and it already destresses me a lot
[holli]: There are Anti Vaxxer weeks at IKEA.
[Corion]: Of course, it's a 20% cut in the money I receive, while the work doesn't necessarily reduce at all, but my approach is to make the work take longer instead of fitting 5 days worth of work into 4
[holli]: 50% off all children coffins.
[Corion]: holli: Ooof :)
[hippo]: Cut should beless than 20% after tax, though. :-)
[Corion]: hippo: Yeah, but at least two years ago, it still was close enough to 20% cut
[Corion]: But I have a very positive experience with a four day workweek and a three day weekend. I can't easily go back though to full money.
[Corion]: That is easy without having to pay for a house, a wife or children though. If I had any of these, or any two of these, the decision wouldn't be that easy.

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2017-09-21 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (249 votes). Check out past polls.

    Notices?