Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: RFC: Inline::Blocks or inline as a keyword?

by tobyink (Canon)
on Sep 09, 2018 at 20:04 UTC ( [id://1221999]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MDevel::Hide=Ref::Util::XS,Type::Tiny::XS -MTypes::Standard=-t
    +ypes -E'say HashRef->inline_check(q/$myvar/)'
    Devel::Hide hides Ref/Util/XS.pm, Type/Tiny/XS.pm
    (ref($myvar) eq 'HASH')
    
  2. or download this
    $ perl -MDevel::Hide=Ref::Util::XS,Type::Tiny::XS -MTypes::Standard=-t
    +ypes -E'say ArrayRef->of(HashRef)->inline_check(q/$myvar/)'
    Devel::Hide hides Ref/Util/XS.pm, Type/Tiny/XS.pm
    do { (ref($myvar) eq 'ARRAY') and do { my $ok = 1; for my $i (@{$myvar
    +}) { ($ok = 0, last) unless (ref($i) eq 'HASH') }; $ok } }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-24 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found