in reply to Re^3: Get rid of the Indirect Syntax, please!
in thread On the Improvement of Exegesis 12
To me, the indirect syntax was a nice sugar when dealing with IO::File and friends (close $fh, in your example). That new() also played nicely was annoying, but I didn't care. I didn't have to know if $fh was an instance of IO::File or a GLOB or whatever. I just used it.
Now, I am required to know, because I have to put the colon on if it's an instance or not if it's not. I have to keep track of whether it's an object or not. To me, that kinda invalidates the whole reason for the thing.
Plus, do you really want close $*OUT:; all over your code, just to avoid $*OUT.close;?
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Get rid of the Indirect Syntax, please!
by adrianh (Chancellor) on Apr 19, 2004 at 13:01 UTC | |
by dragonchild (Archbishop) on Apr 19, 2004 at 13:04 UTC | |
by adrianh (Chancellor) on Apr 19, 2004 at 15:03 UTC | |
by dragonchild (Archbishop) on Apr 19, 2004 at 15:24 UTC | |
by kelan (Deacon) on Apr 19, 2004 at 16:32 UTC | |
|