[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Accessing scratch variables in perl code
Tim Nelson <reply2nelson@yahoo.com> writes:
> Not sure of the difference here, but I had some code
> that was working with $Vend::Scratch->{variable} on IC
> 4.6 and when I moved it up to IC 4.8 I have to use
> $::Scratch->{variable}.
I typically don't reference the package that variable is in. I trust
that the package has appropriately exported it's symbols. As such all
of my code uses things like $Scratch->{variable} and $Tag->{foobar}.
--
(__) Doug Alcorn - Unix/Linux/Web Developing
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ mailto:doug@lathi.net http://www.lathi.net