in reply to Re^2: use base 'Foo' or die!
in thread use base 'Foo' or die!
So tell me, how often do you have to inherit from another class at a later time?
You seem to have missed the whole point of my post. Let me extract the key sentences in my already short reply: "... and there [with imports lists etc] it's handy when you want to add something to the list /.../ though having a list of more than one element there [with base.pm] would be the exception, not the rule"
I tend to use qw() for the same reason I tend to add a , after the last element of a long array. It's less work if I have to add something else at a later date.Hmmm, is it more work to add the comma when you append to the list? It seems like it's the opposite. It's more work to add commas everywhere that I might not use. However, I use tailing commas too. And too out of laziness. But not because I want to add stuff later. Instead it's because if I want to reorder the list it's quite smooth if all lines can be treated equally when cutting and pasting.
ihb
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
use base qw(Foo) && confess "I hate single-quotes"
by dragonchild (Archbishop) on Feb 12, 2003 at 20:34 UTC | |
|
Re: Re: Re: Re: use base 'Foo' or die!
by extremely (Priest) on Feb 12, 2003 at 23:01 UTC | |
|
Re^4: use base 'Foo' or die!
by adrianh (Chancellor) on Feb 13, 2003 at 10:24 UTC |