Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by Athanasius (Abbot)
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 wandering the Monastery: (4)
As of 2015-07-07 03:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls