Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Bad Module Code

by dragonchild (Archbishop)
on Jul 11, 2003 at 16:02 UTC ( [id://273440]=note: print w/replies, xml ) Need Help??


in reply to Bad Module Code

I do that all the time. I have a wrapper around IO::File that provides a few more option (like when to check for existence and the like), plus throws errors for Error. The closing function doesn't actually return anything.

Personally, though, I'm anal and always return 1 from functions that are auto-successful. But, that's more from superstition than any real reason.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found