|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I taught my self Perl writing scripts. However now when I want to convert them to work with mod_perl I am having big problems.
I'm getting sometimes it work and sometimes it doesn't problem. So I guess there are issues with persistent global variables. So I had a go at using Code:
my $var; Code:
use vars qw($var); Is there some simple formula for getting something like this to work (I'm not using CGI.pm). Cheers small ears ps. What is the difference between Code:
apache::PerlRun Code:
apache::registry |
|
#2
|
|||
|
|||
|
To all those 173 viewers of my thread.
After several hours of hitting my head against a wall I worked out how to get my script to work. Combination of requires, variable setting and passing parameters. Isn't Perl poor at parameter passing? Give me C anyday. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > converting to mod_perl |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|