Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: socket help

by Anonymous Monk
on Feb 14, 2011 at 02:47 UTC ( #887913=note: print w/replies, xml ) Need Help??

in reply to Re: socket help
in thread socket help

$_ is supposed to be $ARGV[0].
PeerAddr => $ARGV[0],
I've also tried using backticks
chomp(my $output = `ls /tmp 2>&1`);
It's like the client isn't waiting for the server to finish

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://887913]
[marioroy]: why do some posters not know to provide a good SSCCE? Nested loops?
[Corion]: marioroy: Producing good SSCCE is an acquired skill :) You have to produce bad SSCCEs for a long time until you get good. And when you get good, you don't need them that much anymore because you simply isolate the problem and then solve it ;)
[marioroy]: ... and kcott is able to provide something. Amazing.
[hippo]: kcott's analysis consistently impresses.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-08-18 08:21 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (297 votes). Check out past polls.