Subject: | my $TTYDEVSFILE -> our $TTYDEVSFILE |
Date: | Wed, 16 Jul 2008 12:33:22 +0200 |
To: | <bug-Proc-ProcessTable [...] rt.cpan.org> |
From: | Wolf-Dietrich Filss <w.filss [...] epages.de> |
* Distribution name and version
Proc-ProcessTable-0.42.tar.gz (or any other)
* Perl version
5.10.0 (or any other)
* Operating System vendor and version (Find this by running the command uname -a)
Linux greenlinux.intern.epages.de 2.6.9-5.EL #1 Wed Jan 5 19:21:57 EST 2005 x86_64 x86_64 x86_64 GNU/Linux
please replace:
my $TTYDEVSFILE
to:
our $TTYDEVSFILE
in ProcessTable.pm.
Reason: For different perl versions (e.g. 5.8.8 vs. 5.10.0) or
different architectures (32-bit vs. 64-bit) the format of
$TTYDEVSFILE = "/tmp/TTYDEVS" is different. If I want to use both perl
32-bit and perl 64-bit on the same machine files /tmp/TTYDEVS are not
compatible.
Then I get the error:
Byte order is not compatible at ../../lib/Storable.pm (autosplit into
../../lib/auto/Storable/_retrieve.al) line 380
If $TTYDEVSFILE would be 'our', I could change the name of the variable.
greetings, wolf.