in reply to Re: Re: 64 bit pointer to string
in thread 64 bit pointer to string
I really don't know anything about perl on 64-bit systems, but in the absence of any other responses...
What do you get if you do
my $x = 'hello world!'; my $px = pack 'P', $x; print length $px; # Ought to print '8' on a 64-bit system print unpack 'p', $px; # Should print 'Hello world!'
If that works, then Perl is packing the pointers correctly and you are 'using them wrong'. Sorry for such a vague diagnosis:)
If that doesn't work, then you maybe have discovered a bug in 64-bit perl and should raise it to p5p.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: 64 bit pointer to string
by Anonymous Monk on Sep 06, 2003 at 10:48 UTC | |
by BrowserUk (Patriarch) on Sep 06, 2003 at 11:35 UTC | |
by Anonymous Monk on Sep 06, 2003 at 17:29 UTC | |
|
Re: Re: Re: Re: 64 bit pointer to string
by Anonymous Monk on Sep 06, 2003 at 17:06 UTC |