Re: String to Num (was Re: Numeric Literals (Summary))
[email protected] (Dave Storrs) Wed, 20 Nov 2002 21:28:51 -0800
| Newsgroups | perl.perl6.documentation |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Nov 20, 2002 at 12:11:21PM -0800, Larry Wall wrote: > On Wed, Nov 20, 2002 at 11:57:33AM -0800, Michael Lazzaro wrote: > : .... and _I'm_ trying to promote the reuse of the old "oct/hex" > : functions to do a similar both-way thing, such that: > > What's a two-way function supposed to return if you pass it something > that has both a string and a numeric value? Convert it both directions? > > Larry It should return a junction, of course. :> --Dks