Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: NbtScan Output Formatter

by z0d (Hermit)
on Aug 06, 2001 at 23:08 UTC ( #102556=note: print w/ replies, xml ) Need Help??


in reply to NbtScan Output Formatter

Just a few comments. They are for improving Your programs.

1. use -w or 'use warnings;'. I consider programs buggy without it.
2. ALWAYS check the return code of system calls (e.g. open(), opendir() etc).
3. You could use 'use stritct;'. It is good to use.
4. You can use here documents to print multiple lines without needing to write multiple prints.

I hope You take these advices.
-- <-- z0d -->

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://102556]
help
Chatterbox?
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: (8)
As of 2016-07-01 10:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (410 votes). Check out past polls.