in reply to Re: mapcar -- map for more than one list
in thread mapcar -- map for more than one list
to list a few. I read the first one as "if no arguments", which is perfectly clear to me, clearer than "unless some arguments". But it all seems rather trivial in this case and any of them (including using unless) would be fine by me. (: (I guess I'm more likely to use unless as a statement modifier, not much for a conditional block.)if( ! @_ ) if( 0 == @_ ) if( @_ < 1 )
Update: dragonchild tells me that the question was more about require Exporter. use would call Exporter->import and I'm not importing anything from Exporter so I see no point in useing it. Even Exporter docs use require and not use.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 2: mapcar -- map for more than one list
by tilly (Archbishop) on Jan 22, 2002 at 01:28 UTC | |
by tye (Sage) on Jan 22, 2002 at 02:37 UTC | |
by tilly (Archbishop) on Jan 22, 2002 at 04:22 UTC |