Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: The best way to filter file I/O

by steves (Curate)
on Nov 06, 2004 at 16:15 UTC ( #405773=note: print w/ replies, xml ) Need Help??


in reply to The best way to filter file I/O

Good pointer -- Thanks. But I'm not seeing how that could be used on an already open file handle. This still may fit some of my specific needs better than a tie.


Comment on Re: The best way to filter file I/O
Re^2: The best way to filter file I/O
by Limbic~Region (Chancellor) on Nov 08, 2004 at 14:28 UTC
    steves,
    I almost missed this as you didn't reply directly to my node. So for some reason, you won't know at the time you open the file if you are going to need to ucase it or not. Probably the easiest thing to do this then is to tie all your filehandles up front. Default behavior is a normal filehandle, but you would add a method to toggle ucase which could be called at any time.

    Cheers - L~R

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-09-19 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls