Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Config::General identical blocks sequence

by Mr. Muskrat (Abbot)
on Aug 02, 2011 at 19:34 UTC ( #918129=note: print w/ replies, xml ) Need Help??


in reply to Config::General identical blocks sequence

From the docs, "You may have more than one line of the same option with different values." and "You will get a scalar if the option occurred only once or an array if it occurred more than once."

If you look at the code for Config::General you will see that it's creating an array when it finds two or more of the same option with different values and pushing the values into an array. So yes, the order will be same.


Comment on Re: Config::General identical blocks sequence

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-08-31 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls