Akopia Akopia Services

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

Re: [mv] Row not found error in embedded perl.



******    message to minivend-users from Chris Rapier <rapier@psc.edu>     ******


> my $rowname = Values->{'mv_searchspec'}[0];
> return 'Bad row to hoe' unless(defined($rowname) && ($rowname ne ''));

I don't think this would work as a user might have something else than a
known key for the first search element. This would lead to the same
problem where it has a 'valid' value for $rowname but not one within the
defined set of keys in the catopts database. Also, isn't (at least in
this context) unless(defined $rowname) roughly equivilant to $rowname ne
''?
-
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: