[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] impossible to substite @ with \@ in embedded perl code
On Tue, Nov 23, 1999 at 10:46:26PM +0100, Nathan ZYLBERSZTEJN wrote:
> ****** message to minivend-users from Nathan ZYLBERSZTEJN <zyloo@zylooplanet.net> ******
>
> Hi,
>
> I want to check an email and put it in a database, but not in the user
> database, and i have to use
> [data base="contacts" ... value="[value email]"]
> But this generate the error:
> Safe: In string, @jj now must be written as \@jj at (eval 135) line 4, near
> "hh@jj"
> So i've tried to make a substitution in Perl but writing:
> my $email="[value email]"; generates exactly the same error
>
> How can I resolve this problem
heheh... '[value email]' "" interpolates so it thinks the @ is an array.
'' takes a string for what it is.
--
Anthony Ball ant@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
tel:1.207.657.5078 fax:1.207.657.5048 http://www.maine.com/