Your method is perfectly valid, of course, and I write code like that all the time. (Though nowadays I am more likely to use a lexical filehandle.) I also alternate between using Exporter and writing my own import routines that do the same thing. It depends on what I'm optimizing for, and sometimes *that* is just writing the code quickly, so whatever comes to mind first gets to be used.
In reply to Re^4: Pattern Matching Question
by gaal
in thread Pattern Matching Question
by gsr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |