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

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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2015-11-29 16:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls