Ok! Now that I know you wrote the original code, I've gone ahead and
patched it. Expect it in 0.15, which I expect to release in the next
few days.
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
On Thu, Jul 12, 2001 at 08:37:16PM -0400, [EMAIL PROTECTED] wrote:
> POE::FIlter::Reference does the following to check if the package $freezer
> is loaded :
> exists $::{$freezer.'::'}
>
> and the following to load the package
> eval { eval {require "$freezer.pm"; import $freezer ();};
>
>
> This fails pityfully if $freezer contains ::. The following patch cures
> this. I don't know if s(::)(/)g; is compatible with Mac OS, though.
> Maybe we should just eval "use $freezer ();";
>
> -Philip
>
> --- POE/Filter/Reference.pm 2000/12/26 06:14:12 1.20
> +++ POE/Filter/Reference.pm 2001/07/13 00:31:31
> @@ -56,8 +56,20 @@
[...]