Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: LWP is not SIGPIPE safe?

by OlegG (Monk)
on Nov 28, 2012 at 13:30 UTC ( #1006027=note: print w/replies, xml ) Need Help??


in reply to Re: LWP is not SIGPIPE safe?
in thread LWP is not SIGPIPE safe?

Question is in subject of this topic

Replies are listed 'Best First'.
Re^3: LWP is not SIGPIPE safe?
by zwon (Abbot) on Nov 28, 2012 at 15:47 UTC
    Answer to this question is in the body of the question ;) As you can see from the code it is not handling SIGPIPE itself. On the other hand nothing prevents you from setting handler in your script from which you're using LWP.
      If so, then it is a bug. Because it is even not documented, that I should install sigpipe handler myself.
      Ok, it seems I should make test and report it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006027]
help
Chatterbox?
choroba waits
[thepkd]: $aohoaoh ->{'foo'} has to be dereferenced to access its contents right?
[thepkd]: sorry. i mean $aohoaoh[0]
[GotToBTru]: $aohoaoh is an array reference tho
[thepkd]: some guy was suggesting $aohoaoh[0]->{'foo '}[0]->{}. This wouldnt work.
[GotToBTru]: you're mixing notation there I think
[GotToBTru]: $aohoaoh->[0] is a hash reference, so $aohoaoh->[0]->{ key1} would work
[1nickt]: If 1nickt is the some guy, that's not what he said.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2016-12-06 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (104 votes). Check out past polls.