Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Config::General identical blocks sequence

by Mr. Muskrat (Canon)
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?
Discipulus Syracusis anicula deos cotidie obsecrabat ut Dionysius..

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2016-12-05 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (75 votes). Check out past polls.