Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Problem in IO::Socket syntax?

by c (Hermit)
on Mar 31, 2002 at 00:13 UTC ( #155528=note: print w/replies, xml ) Need Help??


in reply to Re: Problem in IO::Socket syntax?
in thread Problem in IO::Socket syntax?

Thanks for correcting my poor grammar ;-) To answer your question and the previous, there is no local firewall, and I intentionally included telnet in the list of services because I know that it is not enabled on this host. Really just testing to make certain I get the output I desire when a service is down.
I just don't understand the error that was being spit out. I don't see the concantenation that its referring to.

-c

Replies are listed 'Best First'.
Re: Re: Re: Problem in IO::Socket syntax?
by Ryszard (Priest) on Mar 31, 2002 at 00:22 UTC
    If i understand correctly (and I havent run your code) you should be using the variable $service in your hash, rather than the hard reference service.

    Your hash %ports has no key of service.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2023-06-04 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (17 votes). Check out past polls.

    Notices?