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.
ihbIn reply to Re: Re: Re: use base 'Foo' or die!
by ihb
in thread use base 'Foo' or die!
by jeffa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |