[ic] Accessing scratch variables from perl code

Mike Heins interchange-users@interchange.redhat.com
Sat Mar 23 14:55:01 2002


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