For Programmers: Free Programming Magazines  


Home > Archive > PERL on RISC OS > July 2007 > CGI module









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CGI module
Colin Foster

2006-10-13, 8:27 am

Hi,

Have been trying to use the CGI module but find that the statement
$name = param('name'); and others does not work.

The CGI package requires 5.004 and is copyrighted 1995-1998. I am
using it with Perl 5.8.8 and WebJames RiscOS 5.11
Is there a more up to date CGI module available.

Regards,
Colin.


Derek.Moody

2006-10-13, 8:29 am

On Fri 13 Oct, Colin Foster wrote:

> Have been trying to use the CGI module but find that the statement
> $name = param('name'); and others does not work.


For what value of not working?

> The CGI package requires 5.004 and is copyrighted 1995-1998. I am
> using it with Perl 5.8.8 and WebJames RiscOS 5.11


Using 5.8.8 CGI.pm 3.15 WebJames 0.47 and RISCOS 3.7 under raFS

No problem here, the following works as expected:

#######################

#!perl -w

use strict;
use CGI qw/:standard/;

my $name=param('name');

print header,start_html('What I got'),h1("I got $name");

print end_html;

#######################

On my setup I have to dial-up the Next slot a bit - try about 5Mb.

Still no joy?
To see if you've a naming mismatch insert this before the last line:

print p('Here is a list of all parameters and their values:');
print "<dl>\n";
if (param()){
foreach my $entry (param){
print "<dt>$entry</dt><dd>"
.param($entry)
."</dd>\n";
}
}
print "</dl>\n";


> Is there a more up to date CGI module available.


The latest on CPAN is 3.25 but I doubt there's anything there that would
make any difference to parameter access. When your setup runs out of steam
you'll gain a lot more by switching to a dedicated host than you will by
tweaking modules on RISCOS.

Cheerio,

--[color=darkred]

Adsemen

2007-03-20, 7:29 pm

Warning, adult only!
http://I-Love-Anal.info/videos/medi...php?file=218571
42193

2007-04-10, 12:05 am

Carmen Electra Giving A Head And Taking A Load!
http://Carmen-Electra-Giving-A-Head...hp?movie=148803
555

2007-04-14, 3:43 am

http://Mel-Gibson-spanking.info/Win...hp?movie=148803
Dark_warrior

2007-04-21, 7:22 pm

http://Pamela-Anderson-in-nylons.in...hp?movie=148803
Adtard

2007-05-04, 2:59 am

http://Celine-Dion-facestanding-mov...hp?movie=148803
Yido

2007-06-06, 9:32 am

http://www.theillegalsite.com/PlayMovie?q=1673286
Tedbas

2007-06-10, 10:57 pm

Christina Aguilera and Catherine Z. Jones Have Fun!
Pemapmarleelen3

2007-06-15, 5:15 pm

BDSM action at home
http://www.bdsmathome.info/wmplayer?218571
Tenederanad0

2007-06-15, 9:55 pm

Jennifer Aniston and Catherine Z. Jones At Pillow War Game!
Zork

2007-06-17, 6:15 am

Sarah M. Gellar and Sarah M. Gellar Spoiling Lucky Girl!
http://www.shockingtheworld.com/Player.mpeg?id=726071

Paris Hilton and Paula Abdul Have Fun!
http://www.shockingtheworld.com/Pla....wmv?vid=726071

Carmen Electra and Sarah M. Gellar Lick Pussies On Sofa!
http://www.shockingtheworld.com/Med...eg?movie=726071

Jennifer Aniston and Hilary Swank Pussy Licking & Fighting!
http://www.shockingtheworld.com/Med...er.wmv?q=726071

Mariah Carey and Jennifer Lopez At Pillow War Game!
http://www.shockingtheworld.com/Player?q=726071
Crature

2007-06-18, 5:02 pm

Catherine Z. Jones On Sofa Shows Tight Ass!

http://www.WatchingTheTube.com/WatchMovie?watch=726648



funny site video free funny video to watch flash free funny video america most funny video funny baby video
http://635-funny-video.info/funny-dog-video-clip.html http://635-funny-video.info/baby-funny-video.html http://635-funny-video.info/funny-v...or-myspace.html http://635-funny-video.info/extreme...umor-video.html http://635-funny-video.info/extremely-funny-video.html
Tapmapdesfa

2007-07-09, 11:40 am

Uncensored adult videos are available for free!
Click here to watch now
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com