Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Deferring variables

by LanX (Sage)
on Jun 25, 2022 at 13:40 UTC ( #11145037=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      
      DB<21> $par{"margin-left"} = "a" 
    
    ...
    
      DB<23> p $actual
    margin-horizontal
    
  2. or download this
    $chain{margin}    = [qw/margin-left margin-horizontal margin/ ];
    # etc
    ($actual{$head}) = grep { $par{$_} ne "a" } @{ $chain{$head} };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2022-12-02 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?