Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: only allow certain parameters

by runrig (Abbot)
on Aug 09, 2002 at 22:49 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-26 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found