[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: BUG REPORT: Website META Language 2.0.1 (23-May-2000)
- From: Denis Barbier <nospam@thanx>
- Date: Fri, 7 Jul 2000 22:39:50 +0200
On Fri, Jul 07, 2000 at 04:28:20PM +0200, Albert REINER wrote:
> PROBLEM DESCRIPTION:
> Consider the following minimal input file:
>
> > <:
> >
> > system "ls -alF $SCRIPT_SRC_PATH";
> >
> > print "\$SCRIPT_SRC_DIR = $ENV{'SCRIPT_SRC_DIR'}\n";
> > print "\$SCRIPT_SRC_PATH = $SCRIPT_SRC_PATH\n";
> >
> > :>
>
> For some reason, on my system this will give me the directory listing,
> but the two explicit print statements will yield:
>
> > $SCRIPT_SRC_DIR =
> > $SCRIPT_SRC_PATH =
>
> , i.e. I don't seem to be able to access the variables even though
> they are obviously used in the system call. This is true not only with
> wml but also by using eperl alone, so the problem is obviously in pass
> 3.
Very strange, i got same result with
<:
system "ls -alF $LS_LISTS_CURRENT_DIR_BY_DEFAULT";
print "\$SCRIPT_SRC_PATH = $LS_LISTS_CURRENT_DIR_BY_DEFAULT\n";
:>
;-))
--
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com