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

Re^2: Open file issues

by hotshot (Prior)
on Aug 18, 2004 at 11:07 UTC ( [id://383918]=note: print w/replies, xml ) Need Help??

in reply to Re: Open file issues
in thread Open file issues

Some of your logic is a bit scary, so I haven't changed too much. You might need to check it carefully. Can you explain what you ment?

And thanks for your pre answer

Replies are listed 'Best First'.
Re^3: Open file issues
by davorg (Chancellor) on Aug 18, 2004 at 12:14 UTC

    Oh, I just mean that there are a few globals which make me a bit uncomfortable and your error handling is (to my eyes) a bit bizarre. The more "Perlish" approach would be to return a false value for smaller errors and to just die on fatal stuff.


    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

      Got you, but it's just because I didn't paste most of my code, just snipts.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-07-25 16:08 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.