in reply to Re^2: Global Variables Not Acting Global
in thread Global Variables Not Acting Global
use strict; use warnings; use CGI::Fast; our $count = 0; while ( my $q = new CGI::Fast ) { $count++; print $q->header( "text/plain" ), "You are request number $count. Have a good day!\n"; }
(taken from O'Reilly's CGI book and modernized )
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Global Variables Not Acting Global (FCGI)
by Eliya (Vicar) on Apr 21, 2011 at 13:01 UTC | |
by Anonymous Monk on Apr 22, 2011 at 01:22 UTC | |
by LanX (Saint) on Apr 21, 2011 at 13:06 UTC |