eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 2 
ELSIF (Read 509 times)
www.blitzday.com
eAuction User
**
Offline

I love the script
and hate it if it
does not work

Posts: 60

ELSIF
09/11/04 at 18:15:01
 
Hello,

I want to putin an addon with elsif statements they say put them where all the elsif are.

But i casnnot find it where should i put it?

Freddy
Back to top
 
 


Advertising
View Profile   IP Logged
froot
eAuction Novice
*
Offline

I love Perl

Posts: 2

Re: ELSIF
Reply #1 - 09/24/04 at 15:45:31
 
I found it already:

elsif statements look like this:

elsif ($form{'action'} eq 'export') { &adminexport; }
elsif ($form{'action'} eq 'exportfile') { &exportfile; }

just copy them as an event in the event section:
Convert them to this:

'export'            =>  \&adminexport,
'exportfile'      =>  \&exportfile,


if you look detailed you can see what to get rid of and what to add..... helps you putting up addons easily once you know this.
Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: ELSIF
Reply #2 - 09/27/04 at 18:27:51
 
Yes ...
that's the way it works  Smiley
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
Pages: 1 2 


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only