Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Overloading print()

by jbert (Priest)
on Sep 05, 2007 at 10:15 UTC ( [id://637111]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Overloading print()
in thread Overloading print()

Cool, thanks for the explanation.

So...it sounds as though the problem is problematic API. So the *real* fix is to refactor the underlying MPFR "output string" func to call a 'format to string' helper function, which you can then use for your stringification.

I appreciate that might not be easy/desirable/practical (mimicing the func in perl is probably easier), but hey.

Replies are listed 'Best First'.
Re^4: Overloading print()
by syphilis (Archbishop) on Sep 05, 2007 at 12:57 UTC
    ... the *real* fix is to refactor the underlying MPFR "output string" func to call a 'format to string' helper function

    At which point syphilis is thankful that it's impossible to panic oneself to death ....

    (Anyway, you're wrong ... the *real* fix is to delegate responsibility :-)))))))

    Cheers,
    Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://637111]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-18 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found