Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: RFC: beginner level script improvement

by jwkrahn (Abbot)
on Sep 23, 2013 at 07:10 UTC ( [id://1055240]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub sendmail {
        my ($REPORT,$CONFIG,$RESULT) = @_;
    ...
        my $MAIL_TO = $CONFIG{MAIL_TO}[0];
        delete $CONFIG{MAIL_TO}[0];
        my @MAIL_CC = $CONFIG{MAIL_TO};
    
  2. or download this
        my $MAIL_TO = shift @{ $CONFIG{ MAIL_TO } };
    
  3. or download this
        my $MAIL_CC = $CONFIG{ MAIL_TO };
    
  4. or download this
        if ($RESULT == 1){
    ...
    ...
    +entication\n";}
            if ($RESULT == 2){ $CONFIG{MAIL_DATA} .= "Provided Username/pa
    +ssword combination passed Auth
    +entication, but tacacs profile doesn't allow privileged mode\n";}
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-03-29 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found