Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^5: XML::Twig and threads

by BrowserUk (Pope)
on Nov 28, 2012 at 13:44 UTC ( #1006033=note: print w/replies, xml ) Need Help??

in reply to Re^4: XML::Twig and threads
in thread XML::Twig and threads [solved]

Firstly, updating the root node with new code is a bad idea. Very few if any people will re-read old nodes, so it will never be seen except by those you notify.

Second, posting code that doesn't use strict & warnings and contains trivial errors that those would catch:

Use of uninitialized value $fields[2] in pattern match (m//) at C:\tes +t\ line 56. Use of uninitialized value $fields[3] in pattern match (m//) at C:\tes +t\ line 64.

will stop most people (including me) from looking further.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong

Replies are listed 'Best First'.
Re^6: XML::Twig and threads
by grizzley (Chaplain) on Nov 29, 2012 at 08:03 UTC
    Ok, noted. I just didn't want to start new discussion on the same topic.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006033]
1nickt adds gingersnaps to the platter on the sideboard.
[Eily]: sure it was a pretty standard one liner (of the $h{$1} = $2 if /regex/; END { pp \%h; } variety), but he's not supposed to know that!
[Eily]: what's the point of writing perl if people aren't impressed :P
[sierpinski]: Haha
[Discipulus]: i'm with you!
[Discipulus]: with eskimo greeting is a little bit impressing, anyway
[Eily]: I actually used the eskimo greeting :P, I just wrote the "canonical" form of the oneliner here
[Discipulus]: next time you can add `SARGV-1` and if still not impressed pass a 'rm -f..' as last arg

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-04-26 15:06 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (482 votes). Check out past polls.