Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Using Config::IniFiles Module Obtain Comma Separated Values into An Array

by Anonymous Monk
on May 27, 2016 at 07:01 UTC ( [id://1164270]=note: print w/replies, xml ) Need Help??


in reply to Using Config::IniFiles Module Obtain Comma Separated Values into An Array

:) and what happens instead?
  • Comment on Re: Using Config::IniFiles Module Obtain Comma Separated Values into An Array

Replies are listed 'Best First'.
Re^2: Using Config::IniFiles Module Obtain Comma Separated Values into An Array
by perlPsycho (Initiate) on May 27, 2016 at 07:10 UTC
    Hello Anonymous Monk,

    I cant get the space separated value.

    I need a way to get the j= abc def ghi jkl mno pqrs tuv wxyz
    in a single line of code using a method of Config::IniFiles.

    like my
    @array=$cfg->arrayValBySpace('hello','j')

    Note:
    not as a single line like abc ... wxzy
    but as separate values like $arr[1]= abc , $arr\[[$#arr]=wxyz.
      Well, Config::IniFiles doesn't do that, it only supports newlines seperation, so the only way to get it, is to subclass/extend Config::IniFiles or ...
        Please do go on Anonymous Monk.

        I am listening.
        Okay How do I do that...??

        Please share a sample or snippet code if possible.

        Even a link would suffice..

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-16 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found