Hi Ken,
I've tried this, and it works. How does it compare with what you're
doing?
File test.pl
#!/usr/bin/perl
use warnings;
use strict;
use lib '.';
use Bar;
Bar::foo();
File Bar.pm
---
package Bar;
use strict;
use HTML::Template;
sub foo {
my $tmpl = HTML::Templat
>>> <[EMAIL PROTECTED]> 02/10/2004 23:41:36 >>>
>
>Anyone ideas on what is going on? Any suggestions welcome.
>
>Thanks in advance,
>-Ken
Hi Ken,
Try this instead (below), noticed that I pass the DATA fileglob (*DATA)
directly to HTML::Template->new
Carl
#!/usr/bin/perl
use strict;
use warnin
Quoting Gabor Szabo <[EMAIL PROTECTED]>:
> On Sat, 2 Oct 2004 [EMAIL PROTECTED] wrote:
>
> >
> >
> > I have been having some trouble with a module I am working on that
> requires
> > HTML::Template.
> >
> > I am trying to use the __DATA__ section of the module as a default template
> to
> > fall
On Sat, 2 Oct 2004 [EMAIL PROTECTED] wrote:
>
>
> I have been having some trouble with a module I am working on that requires
> HTML::Template.
>
> I am trying to use the __DATA__ section of the module as a default template to
> fall back on if one is not supplied to my constructor.
>
> Here is a
On Sat, 2 Oct 2004 [EMAIL PROTECTED] wrote:
>
>
> I have been having some trouble with a module I am working on that requires
> HTML::Template.
>
> I am trying to use the __DATA__ section of the module as a default template to
> fall back on if one is not supplied to my constructor.
In one of my
I have been having some trouble with a module I am working on that requires
HTML::Template.
I am trying to use the __DATA__ section of the module as a default template to
fall back on if one is not supplied to my constructor.
Here is a simple script that illustrates the issue:
[EMAIL PROTECTED