Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Deferring variables

by LanX (Saint)
on Jun 25, 2022 at 13:40 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-24 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found