Storable
view release on metacpan or search on metacpan
t/make_56_interwork.pl view on Meta::CPAN
212223242526272829303132333435363738394041if
(
$Config
{byteorder} eq
$storebyteorder
) {
my
$ivtype
=
$Config
{ivtype} ||
'long'
;
<<"EOM";
You only need to run this generator program where Config.pm's byteorder string
is not the same length as the size of IVs.
This length difference should only happen on perl 5.6.x configured with IVs as
long long on Unix, OS/2 or any platform that runs the Configure stript (ie not
MS Windows)
This is perl $], sizeof(long) is $Config{longsize}, IVs are '$ivtype', sizeof(IV) is $ivsize,
byteorder is '$Config{byteorder}', Storable $Storable::VERSION writes a byteorder of '$storebyteorder'
EOM
exit
;
# Grr '
}
my
(
$i
,
$l
,
$p
,
$n
) =
unpack
"xxxx${storesize}CCCC"
,
$frozen
;
<<
"EOM"
;
# byteorder '$storebyteorder'
# sizeof(int) $i
( run in 1.088 second using v1.01-cache-2.11-cpan-49f99fa48dc )