> I agree with that if I'm acessing C::A's underlying data structure. What I'm
> getting at is why does C::A force its underlying data structure upon me?
> Shouldn't I be able to access $self any way I want? Shouldn't there be a way
> to prevent me from stepping on C::A's data structure without forcing me to
> use its "param" method to get access to $self?

It's not about "stepping on" CGI::App.  It's about that you're making
expecations of what CGI::App is giving you to work with.

> My whole point is that I don't want to make assumptions about C::A's data
> structure.

But you are!

You want to be able to access $self->{foobar} without recrimination, but where
did $self->{...} come from in the first place?  The mere fact that $self->{...}
exists in an artifact of that CGI::Application's underlying implimentation is
built upon a blessed hash reference.

'foobar' may be yours, but $self->{...} comes from CGI::Application.


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to