in reply to Call sub first or later
Also, if you're working with fractions davorg's Number::Fraction might be of interest.sub fraction { return @_ unless @_ == grep /\d+_\d+/, @_; my $args = defined wantarray ? [@_] : \@_; $_ = convert_num_here($_) for @$args; return wantarray ? @$args : $args[-1]; }
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Call sub first or later
by kiat (Vicar) on Apr 26, 2004 at 16:57 UTC | |
|
Re: Re: Call sub first or later
by tilly (Archbishop) on Apr 27, 2004 at 01:06 UTC | |
by davorg (Chancellor) on Apr 27, 2004 at 13:28 UTC |