Re: Getting Current Working Directory

2007-01-12 Thread John Mason Jr
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

Getting Current Working Directory

2007-01-12 Thread Paco Zarabozo A.
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__

Re: accent problem

2007-01-12 Thread John W. Kennedy
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"; > > ..