Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: check parameters

by tobyink (Abbot)
on Apr 08, 2013 at 23:36 UTC ( #1027611=note: print w/replies, xml ) Need Help??


in reply to Re^2: check parameters
in thread check parameters

Untested:

if (!grep { /^${\ (join '|', @{$opts->{params}}) }/i } keys %$format)
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2016-09-26 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (492 votes). Check out past polls.