Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Deferring variables

by kcott (Archbishop)
on Jun 25, 2022 at 21:51 UTC ( [id://11145046]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat pm_11145036_parm_defaults.json
    {
    ...
        "margin-vertical" : [ null, "margin" ],
        "margin" : [ 10, null ]
    }
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
    print 'margin = ', _get('margin'), "\n";
    _set('margin', 50);
    print 'margin = ', _get('margin'), "\n";
    
  3. or download this
    margin-left = 10
    margin-left = 20
    ...
    margin = 10
    Can't change factory default: 'margin'.
    margin = 10
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-24 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found