Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: Cannot write data struct to %ENV

by exilepanda (Pilgrim)
on Jun 11, 2015 at 09:47 UTC ( #1130003=note: print w/replies, xml ) Need Help??

in reply to Re: Cannot write data struct to %ENV
in thread Cannot write data struct to %ENV

Thank you very much!! Now the puzzle is solved and lesson learned. Could you elaborate more about why this is not reliable though?

Replies are listed 'Best First'.
Re^3: Cannot write data struct to %ENV
by Discipulus (Abbot) on Jun 11, 2015 at 10:03 UTC
    If the behaviour change between version of Perl, it is unreliable. In the ENV (of your OS) values will always be stringyfied, older Perl version had permit you to add datastructure to %ENV, but this is not logic as Env will contain only strings. So the behaviour was corrected.
    See also Environment and wikipedia too.


    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2020-02-24 00:44 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (104 votes). Check out past polls.