in reply to Re: packing a floating point
in thread packing a floating point

Ikegami, Thanks! I'm trying to create another variable instead of piping to the screen - not sure about the "od -t xl" - how would I create a $var with the same output?

Replies are listed 'Best First'.
Re^3: packing a floating point
by ikegami (Patriarch) on Oct 21, 2010 at 18:37 UTC

    If you want to assign a value to a var instead of printing it, well... do just that.

    print $val;
    becomes
    my $var = $val;