in reply to 64 bit pointer to string
Instinct suggests that if you use the 'p' or 'P' pack format specifiers on a 64-bit system, the you will get a 64-bit pointer to the target string packed into the output. Whether this actually occurs I have no way of checking, but if it doesn't, it wouldn't be a valid pointer would it?
I do seem to recall that some 64-bit processors can utilise 32-bit "pointers" which are simply offsets relative to some base-register, much in the fashion of the segmented stuff from early intel 32-bit systems, but it is doubtful that perl would have anything to do with these.
Have you actually tried this on a 64-bit system and had it fail?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: 64 bit pointer to string
by Anonymous Monk on Sep 06, 2003 at 00:51 UTC | |
by BrowserUk (Patriarch) on Sep 06, 2003 at 08:31 UTC | |
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 | |
by Anonymous Monk on Sep 06, 2003 at 17:06 UTC | |
|
Re: Re: 64 bit pointer to string
by Anonymous Monk on Sep 06, 2003 at 18:36 UTC | |
by BrowserUk (Patriarch) on Sep 06, 2003 at 22:40 UTC |