Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Some assistance with splitting variables

by Skeeve (Vicar)
on Apr 05, 2013 at 20:17 UTC ( #1027212=note: print w/ replies, xml ) Need Help??


in reply to Some assistance with splitting variables

Seems like you're just interested in stuff of the form:

(\w+)=<(.*?)>

So something like this should help:

while (<$log>) { my $info; $info{$1}= $2 while (/(\w+)=<(.*?)>/g); }

s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e


Comment on Re: Some assistance with splitting variables
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-12-21 03:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (102 votes), past polls