CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
several questions

 

First page Previous page 1 2 Next page Last page  View All


frenchface
User

May 22, 2008, 7:20 PM

Post #26 of 28 (1435 views)
Re: [frenchface] several questions [In reply to] Can't Post

ok, so i can import the data, however it prints it all on the page


use strict;
use warnings;
use CGI ':standard';

print header,
start_html('Player Point Tracker'),
h1('Kings of War'),
start_form,
'Players Name: ',
textfield('name'), br,
submit('Search!'),
end_form, p,
hr;

print 'Your name is ', param('name'), br if param 'name';
$a=eval { require "e.pl"};
$b=grep(/param('name')/,$a);
print ' $b';


frenchface
User

May 22, 2008, 7:40 PM

Post #27 of 28 (1433 views)
Re: [frenchface] several questions [In reply to] Can't Post

could i have the perl script output all the values in maybe a .txt file, then have the cgi open it and search in it?


frenchface
User

May 24, 2008, 8:56 PM

Post #28 of 28 (1393 views)
Re: [frenchface] several questions [In reply to] Can't Post

i got it working

First page Previous page 1 2 Next page Last page  View All
 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives