HTML::Mason, mod_perl on Win32 w/ActiveState Perl

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Summary:  I can't get it to work.

Windows XP Pro SP1

I've installed the mod_perl from .

I've made the necessary changes to httpd.conf so that it loads.

LoadFile C:/Perl/bin/perl58.dll
LoadModule perl_module modules/

Apache service monitor shows "Apache/2.0.52(Win32) mod_perl/1.99_18

Installed HTML::Mason via the AS PPM.

This test script from the O'Reilly Mason book runs:


use strict;
use HTML::Mason;
my $interp = HTML::Mason::Interp->new( );
my $comp = $interp->make_component(comp_source => <<'END');
 Greetings, <% ("Earthlings", "Martians")[rand 2] %>

Try to execute this page in a browser:

<html> <head>
<title>Handshake Mason test</title>


% my $planet = "World";
Hello, <% $planet %>!

<!-- hhmts start --> Last modified: Tue Dec 21 19:44:21 Eastern Standard Time
2004 <!-- hhmts end -->
</body> </html>

results in the error

failed to resolve handler `HTML::Mason::ApacheHandler': Can't locate

okay, so Randy Kobes has a hack to fix this and I applied it, only to
generate yet another error,

failed to resolve handler `HTML::Mason::ApacheHandler': Can't locate

At that point, I decided I didn't want to go down the slope by
continuing to modify

I tried installing HTML::Mason by hand.  I uninstalled and reinstalled

I've tried so many combinations I've lost track of them and most of a
day trying them.

I'm sure there must be something simple I'm missing ... if someone
could point it out to me, I would be most grateful.



'cat' is not recognized as an internal or external command,
operable program or batch file.

Re: HTML::Mason, mod_perl on Win32 w/ActiveState Perl

    Michael> Summary: I can't get it to work.  Windows XP Pro SP1

fixed using the suggestions at

I found that the installation of mod_perl/Mason on Apache 1.3.33
worked OOB, also, without any special tricks required.


'cat' is not recognized as an internal or external command,
operable program or batch file.

Re: HTML::Mason, mod_perl on Win32 w/ActiveState Perl

If you are planning a vegetarian meal. Or you could just as well use veal -
after all, you have to be careful - Sicilians are touchy about their young
family members...

6 newborn or veal cutlets
Tomato gravy (see index)
4 cups mozzarella, 1cup parmesan, 1cup romano
Seasoned bread crumbs  mixed with  
   garlic powder
   chopped parsley
eggwash (eggs and milk)
Peanut oil for frying.

Pound the cutlets.
Dredge in flour, eggs, then the bread crumb mixture.
Fry till golden brown in 350° peanut oil.
In a baking pan, place a layer of gravy,
   then one of meat, gravy, and cheese.
Another layer each of meat, gravy, and cheese.
Then bake at 350° for 45 minutes.
Serve on hot pasta with romano cheese.

Southern Fried Small-fry

Tastes like fried chicken, which works just as well.
In fact you may want to practice cutting up whole chickens
for frying before you go for the real thing.
Whole chicken is much more efficien

Re: HTML::Mason, mod_perl on Win32 w/ActiveState Perl

peanut oil till crispy golden brown, drain on paper towels.

Lemon Neonate

Turkey serves just as well, and in fact even looks a bit like a
well-dressed baby. By the time you turn the child?s breast into
cutlets, it will be indistinguishable. The taste of young human,
although similar to turkey (and chicken) often can be wildly
different depending upon what he or she has consumed during its
10 to 14 months of life...

4 well chosen cutlets (from the breasts of 2 healthy neonates)
2 large lemons (fresh lemons always, if possible)
Olive oil
Green onions
neonate stock (chicken, or turkey stock is fine)
fresh cracked black pepper

Season and sauté the cutlets in olive oil till golden brown, remove.
Add the garlic and onions and cook down a bit.
Add some lemon juice and some zest, then de-glaze with stock.
Add a little cornstarch (dissolved in cold water) to the sauce.
You are just about there, Pour the sauce over the cutlets,
   top with parsley, lemon slices and cracked pepper.
Serve with spinach salad, macaroni and cheese (homemade) and iced tea...

Spaghetti with Real Itali

Site Timeline