in reply to Re: string parsing with split
in thread string parsing with split
This would seem to work if I literally had the word "key" in the string. I was using that as an example. The actual string has different words that are not the same.
Here's something that looks a bit closer to the actual string:
platform=linux hpfFamily=hwseries npsFamily=SWseries rackcnt=1 SPAs=1 SPUpSPA=6 CPUs=6 shrParts="/part1 /home/part2" maintIface="eth2" DEncpSPA=4 nDEncs=4 npsMName="SystemName" portnums="ports=(0 1 2 3)" ints=(eth0 eth1)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: string parsing with split
by BrowserUk (Patriarch) on Jan 24, 2011 at 21:33 UTC | |
by MeatLips (Novice) on Jan 24, 2011 at 22:01 UTC |
In Section
Seekers of Perl Wisdom