in reply to RE: RE: RE: RE: Re: Dreaming of Post Interpolation
in thread Dreaming of Post Interpolation
I think there is a data type that allows you to alter the values later... Its called a subroutine. =)
Seriously. The way to do it is to define a subroutine with a void prototype and define it in terms variables. I think I saw a few posts earlier on that subject, but I'll reiterate:
sub x() { $y + $z } local $y = 10; local $z = 12; print x;
|
|---|