Akopia Akopia Services

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

[mv] if perl question



******    message to minivend-users from Adam Kett <adam@opusvl.com>     ******

Hello 
just wondering if any one can help with a little if question

does any one know how can do the following

[if value somevar == 2 or 3]


or possibly

[if explicit]

  [condition]
        $somevar = '[value somevar_from_page]';
        return 1 if $somevar == 2;
        return 1 if $somevar == 1;            
        return 0;
  [/condition]

        true 
	somevar_from_page == 1 or 2
  [else]     
        false
	somevar_from_page not equal 1 or 2
  [/else]

[/if]

thou that does not seem to work, 
my perl knowledge is not very good at moment.


if any one could help I would be very appreciative


ak











-- 
<really pointless tag that does nothing>
hmmmm
</really pointless tag that does nothing>
-
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: