Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: opening files using handles, objects etc

by ftumsh (Scribe)
on Jul 06, 2006 at 10:39 UTC ( #559538=note: print w/replies, xml ) Need Help??


in reply to Re: opening files using handles, objects etc
in thread opening files using handles, objects etc

Thinking about it... It would make sense to convert all possibilities to just the one in my object, would it be better to store it as a file handle or an IO::File object? I'm only writing text to the file, not doing anything special. Oh and reading from another file.
  • Comment on Re^2: opening files using handles, objects etc

Replies are listed 'Best First'.
Re^3: opening files using handles, objects etc
by Gilimanjaro (Hermit) on Jul 06, 2006 at 12:24 UTC

    Well thought; I recommend expecting a IO::Handle object... That way, you leave it up to the users if they're passing plain old perl handles, or IO::Scalar or their own implementation on a handle.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2022-10-02 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (7 votes). Check out past polls.

    Notices?