You can load your files like this and then the variables are in the same
namespace.
Execute ({inputfile => 'config_news.epl', package => __PACKAGE__});
or you can do this:
[-
$eplsiteparams = shift;
$eplsiteparams -> {param1} = "one";
$eplsiteparams -> {param2} = "two";
Execute ('config_news.epl');
-]
and inside file config_news.epl(file being executed) you have to do
this(once) to get the values:
[-
$eplsiteparams = shift;
$param1 = $eplsiteparams -> {param1};
$param2 = $eplsiteparams -> {param2};
-]
.... more code
I hope it helps.
CKG
El mar, 21-01-2003 a las 16:43, Scott Chapman escribi�:
> I want the same effect but I don't want to use redirection. I want to use
> execute instead.
>
> Scott
>
> On Tuesday 21 January 2003 02:40 pm, Carlos Kassab wrote:
> > Do you mean to redirect to other page, like this?:
> >
> > [-
> > $http_headers_out{Location}="index.epl?module=News;sid=$sid;order=$fdat{ord
> >er}"; -]
> >
> >
> > CKG
> >
> > El mar, 21-01-2003 a las 15:50, Scott Chapman escribi�:
> > > How do I execute a epl script and pass it parms like calling a URL:
> > > http://host/page.url?key=value
> > >
> > > How do I pass key and value to an executed script correctly?
> > >
> > > Thanks!
> > > Scott
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]