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

Re: Need help fixing AppConfig error ("global_password: no such variable")

by kabel (Chaplain)
on Jun 11, 2003 at 19:14 UTC ( #265139=note: print w/ replies, xml ) Need Help??


in reply to Need help fixing AppConfig error ("global_password: no such variable")

there are two possibilities:

  • ovverriding the error handler
  • my $config = AppConfig->new({ GLOBAL => { ARGCOUNT => ARGCOUNT_ONE, DEFAULT => "", }, CREATE => 1, ERROR => sub {} });

  • defining the parameter manually
  • # config parameters that could eventually be empty $config->define (qw ( global_password ) );
    the second alternative is definitely to prefer.


    Comment on Re: Need help fixing AppConfig error ("global_password: no such variable")
    Select or Download Code

    Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others browsing the Monastery: (4)
    As of 2014-09-20 01:16 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (151 votes), past polls