Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Yaml !perl/range to perl range

by BrowserUk (Pope)
on Dec 01, 2012 at 22:53 UTC ( #1006648=note: print w/replies, xml ) Need Help??


in reply to Yaml !perl/range to perl range

As this is coming from a known format, you could safely do:  @array = eval $$value;

$s = '1..4'; $r = \$s; @a = eval $$r; print @a;; 1 2 3 4

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006648]
help
Chatterbox?
[marto]: poorly thought out non products, sold to parents as "fun" things for kids to have, while providing "security" features (track your kid over the interwebs)
[LanX]: oh didn't see the link, poor contrast
[marto]: "Through a few simple steps, a stranger can take control of the watch and track, eavesdrop on and communicate with the child. They will be able to track the child as it moves or make it look like the child is somewhere it is not..." and so on
[LanX]: so Strangers can easily seize control of the children
LanX needs a smartwatch for his boss ...
[LanX]: darn, I lost a post in preview

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (14)
As of 2017-10-20 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (263 votes). Check out past polls.

    Notices?