This should explain, what I mean:
my $modify = call_modify_function(); # returns 1 if was successful
if ($is_admin) {
print "This executed in admin";
print "The modify function was called successfully";
}
}
So I have to decide if we are in admin or not.
If we are, then print info on admin interface, otherwise nothing, because we display the webpage.
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Code:
sub modify { my $modify = call_modify_function(); # returns 1 if was successful
if ($is_admin) {
print "This executed in admin";
print "The modify function was called successfully";
}
}
So I have to decide if we are in admin or not.
If we are, then print info on admin interface, otherwise nothing, because we display the webpage.
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...