Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Deferring variables

by kcott (Archbishop)
on Jun 25, 2022 at 21:51 UTC ( #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? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2022-09-27 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (118 votes). Check out past polls.

    Notices?