[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] PERL: Interpolate question
Racke,
How right you are. Thanks for setting me straight. I didn't quote a value
(knowing that it would be numeric) but then when the field was empty, the
Perl program spat out
$num = [item-field num];
This works better:
$num = qq([item-field num]);
Thanks,
Rob Maurer
In a message dated 10/14/99 6:37:42 AM Eastern Daylight Time,
racke@linuxia.net writes:
> use quotes around
> [item-field limited].
>
> Bye
> Racke
>
> This is an effect I have reproduced a number of
> > different ways now. I noted in the documentation that "a few tags can't
be
>
> > used with safe_tag, notably ones accessing a database that has not
> previously
> > been accessed on the page." But, on this page, the products database is
> > accessed twice before the [perl] tags, as follows:
> > There is, for the page title,"<TITLE>[item-description]</TITLE>" and
also,
> at
> > the top of the , "<strong>[item-field item] - [item-code]</strong>"
> >
> > I have not found any other info on this phenomenon. Anyone with a
solution
>
> > (or who will give me a dopey slap and straighten me out)? For now, I'll
> just
> > make sure none of my fields are blank....
> >
>