~ubuntu-branches/ubuntu/trusty/pdl/trusty-proposed

« back to all changes in this revision

Viewing changes to IO/Storable/storable.pd

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-12-05 12:37:41 UTC
  • mfrom: (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091205123741-ilqkc9s4zlk71z13
Tags: 1:2.4.5+dfsg-2ubuntu1
* Merge from debian testing (LP: #492898), remaining changes:
  - debian/perldl.conf: Enabled NAN support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
}
93
93
 
94
94
sub pdlunpack {
95
 
  use Config;
 
95
  use Config ();
96
96
  my ($pdl,$pack) = @_;
97
 
  my $stride = $Config{intsize};
 
97
  my $stride = $Config::Config{intsize};
98
98
  my ($type,$ndims) = unpack 'i2', $pack;
99
99
  my @dims = $ndims > 0 ? unpack 'i*', substr $pack, 2*$stride,
100
100
     $ndims*$stride : ();