Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by Athanasius (Monsignor)
on Jan 15, 2013 at 03:31 UTC ( #1013305=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %config
    (
    ...
        nasmailmsg_to     => 'name@email.com',
        dm_check          => 'dmcheck.txt',
    );
    
  2. or download this
    MIME::Lite->send('smtp', $config{smtp_destination});
    
    if (! open my $fh, '<',  $config{nas_array_ip_list})
    ...
    
  3. or download this
    system 'del dmcheck.txt';
    
  4. or download this
    unlink $config{dm_check} or warn "Could not unlink file '$config{dm_ch
    +eck}': $!";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2014-08-28 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (260 votes), past polls