PerlSufi has asked for the wisdom of the Perl Monks concerning the following question:
use WWW::Mechanize; use Config::Simple; if($cfg->param("$ARGV[0]".".notification2") != "") { my $notif2 = $cfg->param("$ARGV[0]".".notification2"); $mech->get('http://path/to/site.php'); $mech->submit_form( form_name => 'notification_form', fields => {"email" => $notif2, } ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: checking for config file param
by hippo (Archbishop) on Jun 11, 2013 at 17:49 UTC | |
by PerlSufi (Friar) on Jun 11, 2013 at 17:54 UTC |