|P is for Practical|
Catalyst request handlingby redlemon (Hermit)
|on Nov 22, 2005 at 15:44 UTC||Need Help??|
redlemon has asked for the
wisdom of the Perl Monks concerning the following question:
Fellow monks, I'm starting with Catalyst and I'm confused at the moment about how catalyst handles my request.
Basically I ran:
And edited 'lib/Greet/C/Greeting.pm' so it looks like this:
Now running a couple of scenarios, I get:
Now, scenario 1 is as expected. I didn't change the main file and it presents the default blurb.
Scenario 2 is also as expected, I run the controller with the say request and it answers me back with the arguments.
But what about scene 3? Why didn't that strip the namespace from the arguments? And I'm really confused about scene 4. I would have expected that to print the same as 1.
Can someone explain this behaviour to me?