[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Accessing scratch variables from perl code
Quoting Steffen Dettmer (steffen@dett.de):
> * Tim Nelson wrote on Fri, Mar 22, 2002 at 12:51 -0500:
> > 2. Is there a _standard_ way to refer to [scratch] (as well as other data)
> > items in Perl code?
>
> You can use all tags as $Tag-><tagname>, i.e.
> $Tag->scratch("variablename").
>
That would work, but it is a regular variable as well:
$Scratch->{variablename}
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman