in reply to %p format specifier in s/printf; what's the point?
The reference points to the scalar's address. It matches the output of %p, just as I would have expected it to.perl -e '$a="bla"; print sprintf "%s %p %s",$a,$a,\$a;' bla 8171078 SCALAR(0x8171078)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: %p format specifier in s/printf; what's the point?
by tye (Sage) on Apr 21, 2004 at 07:36 UTC |