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

Re: Re: Bad Module Code

by exussum0 (Vicar)
on Jul 11, 2003 at 19:34 UTC ( [id://273543]=note: print w/replies, xml ) Need Help??


in reply to Re: Bad Module Code
in thread Bad Module Code

Well, that depends. Some things may have useless return calls, such as those that try and push out a command.

take, say.. something that initiates garbage collection, or flushes buffers. You can't really say it succeeds or fails other than the fact that you've told it to run or not.

I readily admit, there could be a return value if the request for the subsystem to run is fine, but sometimes, you just don't know. Look at sun's sync function for instance :)

Replies are listed 'Best First'.
Re: Re: Re: Bad Module Code
by blue_cowdawg (Monsignor) on Jul 11, 2003 at 19:44 UTC

    look at sun's sync function for instance :)

    Please... I just ate... :-)


    Peter L. BergholdBrewer of Belgian Ales
    Peter@Berghold.Netwww.berghold.net
    Unix Professional

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (8)
As of 2024-04-25 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found