in reply to Re: Re: Is "ref $date eq 'ARRAY'" wrong?
in thread Is "ref $date eq 'ARRAY'" wrong?
And yeah, I know I should be checking if the has ref is a hash ref when it is being set, but I was new to OO and I used the examples in the camel book. In there, there is a nice example of creating methods on the fly.
In retrospect, I would not have done it this way.
So my way works only because this is the only place i actually use the hash, but at some future date if someone else adds to my module, it could possibly blow up.
I'll fix it, I'll fix it... she whines...
|
|---|