Thread Hash als Option missbrauchen (118 answers)
Opened by bloonix at 2005-12-19 02:24

bloonix
 2005-12-19 14:22
#60976 #60976
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
[quote=renee,19.12.2005, 05:54]Wieso magst Du nicht die untere Version??[/quote]
[quote=renee,19.12.2005, 05:54]Wieso magst Du nicht die untere Version??[/quote]
weil ich sonst

Quote
die 'bad ...' if ref $_[0] eq 'HASH';
die 'bad ...' if ref $_[1] eq 'HASH';
die 'bad ...' if ref $_[2] eq 'HASH';
die 'bad ...' if ref $_[3] eq 'HASH';
die 'bad ...' if ref $_[4] eq 'HASH';
die 'bad ...' if ref $_[5] eq 'HASH';


prüfen müsste, oder nicht? Klar, mit einer Schleife könnte ich das
durchlaufen, aber ich dachte, da gäbe es irgendwie etwas, was ich noch
nicht kenne, halt sowas wie

Quote
die 'bad ...' if ref @_ eq 'HASH';


:-)
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.

View full thread Hash als Option missbrauchen