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

Re^2: snmp script with perl

by MacScissor (Acolyte)
on Dec 06, 2012 at 15:46 UTC ( #1007611=note: print w/ replies, xml ) Need Help??

in reply to Re: snmp script with perl
in thread snmp script with perl

Hello and thanks for your reply! I added the lines to the code, now the output is

Aktive Prozesse: $VAR1 = { '' => '' }; $VAR2 = { '' => '' }; $VAR3 = { '' => '' }; $VAR4 = { '' => '' };

Comment on Re^2: snmp script with perl
Download Code
Replies are listed 'Best First'.
Re^3: snmp script with perl
by greengaroo (Hermit) on Dec 06, 2012 at 15:57 UTC

    OK your hashref values are empty so that explains why your output is empty. Also if you print the string "\015\12", remember that special characters such as \0 and \1 are interpreted in double quotes, so if you really want to print that string, put it in single quotes.

    Testing never proves the absence of faults, it only shows their presence.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-10-08 17:14 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (222 votes), past polls