[ic] Perl "space" question
Grant
listbox at email.com
Mon Oct 6 10:32:47 EDT 2003
> At 05:48 PM 10/5/03 -0700, you wrote:
> >How can I express something like this in a UserTag:
> >
> > $Scratch->{email} = $Scratch->{email}
> >$transaction->{Buyer}->{User}->{Email};
> >
> >That's appending "$transaction->{Buyer}->{User}->{Email}" to the "email"
> >scratch variable after a space. The way I have it above, IC
> restarts with
> >an error like this:
> >
> >Scalar found where operator expected at (eval 79) line 42, near "}
> >$transaction"
> >
> > (Missing operator before $transaction?)
>
> Try
>
> $Scratch->{email} .= qq( $transaction->{Buyer}->{User}->{Email});
>
> FYI, ".=" is Perl's string-append operator && "qq" is the double-quote
> operator (just personal preference).
>
> Cheers,
> Yves
Jason and Yves -
Thanks for the info!
- Grant
More information about the interchange-users
mailing list