Hi,

I would like to know how do we send data from data.cgi to a file.lib  and
get the data back in data.cgi and print it

like I'm just doing a simple addition to understand the process of send and
retreiving data.

like this

#!usr/bin...
use CGI;
$q= new CGI;
require "file.lib";
$number =$q->param('number');
##in file.lib i have a sub called add_number
add_number('$number');
## file.lib does the following $newnumber=$number+1;
print "$newnumber";
#end of script

Is that the way we have to do it?


Anthony



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to