Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: only allow certain parameters

by runrig (Abbot)
on Aug 09, 2002 at 22:49 UTC ( #189086=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub balance_by {
      my $self = shift;
    ...
      }
      return $self->{'balance_by'};
    }
    
  2. or download this
    my %valid_params; undef @valid_params{qw(foo bar)};
    ...
    (defined $entry and exists $valid_params{$entry})
    ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2023-01-30 19:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?