Paco Zarabozo A. wrote:
> Hello all,
>
> I'm trying to find a way to let a script know where it is running on
> (current working directory). For the moment, i'm getting my CWD by
> executing a `pwd` on linux or a `dir` =~ /regex/ on windows. Is there a
> more logic function or command in perl to
Hello all,
I'm trying to find a way to let a script know where it is running on (current
working directory). For the moment, i'm getting my CWD by executing a `pwd` on
linux or a `dir` =~ /regex/ on windows. Is there a more logic function or
command in perl to know the CWD?
Paco Zarabozo__
Ricardo Ferreira wrote:
> wait wait wait.
>
> in mac os x work fine but in windows xp professional I have this troble
> above
>
>
> use Encode;
>
> $pdf = encode("iso-8859-1",); # i will put here "ç á é ó õ" ...
> chomp $pdf;
>
> system "echo $pdf";
>
> ..