Oh I am *bad* and *wrong*

Jeff Anderson captvanhalen at gmail.com
Tue Dec 18 21:33:58 GMT 2007


I want this feature:

puts four.hundred # puts 400 hundred smackeroos in my wallet

:)


On Dec 18, 2007 2:40 PM, Marcel Grünauer <gr at univie.ac.at> wrote:
> On Dec 18, 2007, at 8:05 PM, Simon Wistow wrote:
>
> >     print four.dollars.fifty.cents."\n";  # prints "4.55"
>
> > Must. Stop. Crack. Making. Me. Go. Blind.
>
> No. Make it pluggable already :)
>
> For example, the Acme::Numbers::Plugin::Currency plugin might
> declare to handle things like
>
>      print four.dollars.fifty.cents.in.eur."\n";  # prints "3.16"
>      print four.euro.fifty.cents.in.dollars."\n";  # prints "6.55"
>
> via a trip to the nearest currency converter, or just transform it into
> a Google query for "4.55 usd in eur".
>
> Just an idea (/me whistles innocently).
>
> Marcel
> --
> "hanekomu" on Twitter, Jaiku, IRC and AIM
> CPAN: http://search.cpan.org/~marcel/
> Journal: http://use.perl.org/~hanekomu/journal/
>
>



-- 
jeffa



More information about the london.pm mailing list