Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: [mv] mv_searchspec



******    message to minivend-users from "Brent Worley" <brent@12ave.com>     ******

I tried using this, but do not know how to test to make sure that the values
are being split.  I know that the string is being passed fine (tested it
with [value mv_searchspec]) but now I am trying to break it up and access
this through an array.  I set each array value to a scratch variable, but
nothing gets displayed.

Brent Worley




-----Original Message-----
From: owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]On Behalf Of Mr. Christopher
F. Miller
Sent: Thursday, February 10, 2000 10:38 AM
To: minivend-users@minivend.com
Subject: Re: [mv] mv_searchspec


******    message to minivend-users from "Mr. Christopher F. Miller"
<cfm@maine.com>     ******


Stacked variables are typically null delimited strings.

    %values=%{$Vend::Session->{'values'}};
    $mv_searchspec = $values{mv_searchspec};
    @mv_searchspecs=split /\000/,$mv_searchspec;

Sorry, I'm not familiar with how they end up in $Safe; # don't do that ;^)

cfm




-
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


Search for: Match: Format: Sort by: