[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Safe.pm problems in report file
****** message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com> ******
At 01:51 PM 2/4/2000 , you wrote:
>****** message to minivend-users from "Marcus Weseloh"
><marcus@connexions.co.uk> ******
>
>Hi,
>
>I am trying to use embedded perl in the report file. Just for testing
>purposes I do this:
>
>[perl]
>$test = 'testing 1..2..3..';
>return $test;
>[/perl]
I've been away from my Perl studies, but perhaps this is an issue with the
single quotes you're trying to use. :-)
>This code resulted in following error message:
>---
>/cgi-bin-local/dl/process Safe: glob trapped by operation mask at
>(eval 47) line 3.
> > <no input box> = 'testing 1..2..3..';
> > return <no input box>;
>---
>
>So I untrapped 'glob' and got this message:
>---
>/cgi-bin-local/dl/process Safe: Can't modify glob in scalar
>assignment at (eval 47) line 3, at EOF
> > <no input box> = 'testing 1..2..3..';
> > return <no input box>;
>---
>
>Using @test[0] instead of $test worked, but why doesn't $test
>work?
>
>The same code works find in a "normal" minivend page. Can
>someone help me? How do prevent this from happening? Or can't I
>use perl variables in the report file ? NewReport is set to yes, I'm
>running MiniVend V3.14-4 with
>Perl 5.005_03 on FreeBSD.
>
>Cheers,
>
> Marcus
>
>
>---
>Marcus Weseloh
>Webmaster & Developer
>Connexions http://design.connexions.co.uk
>-
>To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Advertising Director http://www.insideline.net
Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list