Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: parse string into multidimensional hash

by chickenman (Novice)
on Feb 20, 2018 at 08:37 UTC ( [id://1209548]=note: print w/replies, xml ) Need Help??


in reply to Re: parse string into multidimensional hash
in thread parse string into multidimensional hash

At the Moment i am doing the following
But i have no clue how to break on Database: or Properties:
$output =~ s/Configuration Status:\n/Configuration Status:/g; my @output = split /\n/, $output; for (@output) { $_ =~ s/\s//g; #print "$_\n"; my ($attr, $val) = split /[=,:,-]/, $_; $dg_config{$attr} = $val; }

Log In?
Username:
Password:

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

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

    No recent polls found