Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Sending packed arrays from Perl to C

by nardo (Friar)
on Aug 06, 2001 at 09:45 UTC ( [id://102397]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # my $packedRow= pack("f$width", @$avRow);
     my $packedRow= pack("i$width", @$avRow);
    
  2. or download this
    # $packedMatrix = pack("p", $packedRow);
     $packedMatrix .= pack("P", $packedRow);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found