Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: What does this print for you?

by kikuchiyo (Monk)
on Dec 25, 2009 at 20:56 UTC ( #814375=note: print w/replies, xml ) Need Help??

in reply to What does this print for you?

I also tried this:

#!/usr/bin/perl use strict; use warnings; use Inline C => 'DATA'; print "Perl native:\n"; print pack q/d*/, (1.7453026326120991e+194, 1.5156845462257262e-147); print "\n\n"; print "Defined in C function:\n"; print pack q/d*/, ( getx(), gety() ); print "\n"; __DATA__ __C__ double getx () { static double x = 1.7453026326120991e+194; return x; } double gety () { static double y = 1.5156845462257262e-147; return y; }


Perl native: Merry Christmas! Defined in C function: Kerry Chtistmas!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://814375]
[Discipulus]: hi Tux and good morning you and all!
[Discipulus]: I read about stack size of the tk cb program: have you tried the MCE version? -mce on command line
[msh210]: wow... talk about overkill... seeking a Perl way to split a file by size while ending on a line ending, and only then discovered that split -C will do it

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-09-20 06:58 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (233 votes). Check out past polls.