RE: Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-06 Thread Ramkumar
...@premediaglobal.com Cc: activeperl@listserv.ActiveState.com Subject: Re: Error on Perl Module File-Find-Rule when run .pl/and create exe PS: I ran this on XP Pro, Perl 5.8.8 B820 and it didn't get any errors and filled the array with a list of modules in $imagepath recursively: use strict; use warnings

Re: Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-06 Thread Bill Luebkert
PS: I ran this on XP Pro, Perl 5.8.8 B820 and it didn't get any errors and filled the array with a list of modules in $imagepath recursively: use strict; use warnings; use Array::Unique; use File::Find::Rule; use Data::Dumper; $Data::Dumper::Indent=1; $Data::Dumper::Sortkeys=1; my @img

Re: Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-06 Thread Bill Luebkert
Ramkumar wrote: > Hi, > > It has many line in my file, very big program. > > If I comment these two lines, #use File::Find::Rule; and > #...@imgfolder = > File::Find::Rule->file()->name('*.*')->in($i

Antwort: RE: Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-06 Thread Torsten . Werner
Hi, activeperl-boun...@listserv.activestate.com schrieb am 06.10.2009 11:28:44: > Note: $imagepath is assigned user argument, as my $imagepath=$ARGV[3]; Could it be that you have a problem with encoding? Do you use non-ASCII characters in $ARGV[3]? Can you reproduce the problem with a simple argum

RE: Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-06 Thread Ramkumar
Hi, It has many line in my file, very big program. If I comment these two lines, #use File::Find::Rule; and #...@imgfolder = File::Find::Rule->file()->name('*.*')->in($imagepath); It is working fine (except this fun

Re: Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-06 Thread Bill Luebkert
Gaurav Vaidya wrote: > Hey there, > > 2009/10/6 Ramkumar : >> Error While run: >> = >> invalid top directory at C:/Perl/lib/File/Find.pm line 592 > So, there's an error somewhere inside File::Find. Note that the error > is _inside_ File/Find.

Re: Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-06 Thread Gaurav Vaidya
Hey there, 2009/10/6 Ramkumar : > Error While run: > = > invalid top directory at C:/Perl/lib/File/Find.pm line 592 So, there's an error somewhere inside File::Find. Note that the error is _inside_ File/Find.pm; this suggests that Perl managed to find File/Find.

Re: Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-06 Thread Bill Luebkert
Ramkumar wrote: > Hi, > > I used strict and warnings at top of my program as you told, and found some > warnings and I have fixed all even, I am getting the same error "invalid top > directory at C:/Perl/lib/File/Find.pm line 592" OK, now post the script exactly as you ran it after fixing the err

RE: Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-06 Thread Ramkumar
ailto:dbec...@roadrunner.com] Sent: Tuesday, October 06, 2009 12:31 PM To: ramku...@premediaglobal.com Cc: activeperl@listserv.ActiveState.com Subject: Re: Error on Perl Module File-Find-Rule when run .pl/and create exe Ramkumar wrote: > > Hi List, > > I am facing module error when run the

Re: Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-06 Thread Bill Luebkert
Ramkumar wrote: > > Hi List, > > I am facing module error when run the perl file. > > I am using perl version 5.8.8 > > Module File-Find-Rule installed on site area in my system. > > Part of my Perl code: Rewrite your code with use strict and use warning

Error on Perl Module File-Find-Rule when run .pl/and create exe

2009-10-05 Thread Ramkumar
Hi List, I am facing module error when run the perl file. I am using perl version 5.8.8 Module File-Find-Rule installed on site area in my system. Part of my Perl code: == use File::Find::Rule; my @img_file; tie @img_file, 'Array::U

Re: File::Find

2004-11-01 Thread $Bill Luebkert
Kyriaki Gali wrote: > Sorry, > > My problem is when i run the script in perl command (./test.pl) it works > fine, when i include this code in my asp script it fails! > There is any difference? > > use File::Find; > my $frdate; > my $tblname = 'zzz_kin

File::Find

2004-11-01 Thread Kyriaki Gali
Sorry,   My problem is when i run the script in perl command (./test.pl) it works fine, when i include this code in my asp script it fails! There is any difference?   use File::Find; my $frdate; my $tblname = 'zzz_kinetix_hello_test';find(\&ffind, "

RE: File::Find

2004-11-01 Thread Charles K. Clarkson
Kyriaki Gali <> wrote: : Hello, : : I have a directory and i want to see if the name of an : including file is eq with another. : I used File::Find but has problems.. Do you know anything about : this module? I have read the documentation but i can't : understand. Show us y

File::Find

2004-11-01 Thread Kyriaki Gali
Hello,   I have a directory and i want to see if the name of an including file is eq with another. I used File::Find but has problems.. Do you know anything about this module? I have read the documentation but i can't understand.   Thanks,   Kyriaki Gali,IT Applications SpecialistKi

File::Find returning UTF-8 characters

2004-03-26 Thread Terris Linenbach
Something in my script causes File::Find to return UTF-8 instead of ANSI strings. At least I think it's UTF-8. The ANSI filename is: çá¬áº ¡á ¬á¡µ. G«óáad.doc $File::Find::name returns: çá¬áº ¡á ¬á¡µ. G«óáad.doc I tried using File::Find in a simple script. $File::Find:

[PMX:#] How to exclude a softlink(pointing to a directory) in File::Find

2002-04-30 Thread yzhang1908
> Try to do recursive find using File::Find, but do not > want to count any directory which is a softlink. > > If I do > > return if ( -l $File::Find:name ); > > it seems still go down to the tree of the softlink > target. > > > Any way to do this

RE: File::Find

2001-12-23 Thread Brent Dax
> Can you use the File::Find method "find" by specifying a sub-routine > other than "wanted" as the first method arg? > Certainly--calling the function 'wanted' is just a convention.. --Brent Dax [EMAIL PROTECTED] Configure pumpking for Perl 6 "Not

File::Find

2001-12-23 Thread Mohammed Khatib
Hi All, Can you use the File::Find method "find" by specifying a sub-routine other than "wanted" as the first method arg? For example: ### find(\&delete, 'c:\temp'); sub delete { # code } ### Thanks, Mk <>

Re: a problem about File::Find

2000-10-22 Thread Jim Angstadt
Here are two examples of using File::Find, the first has the subroutine within the find. The second has it outside the find. Both examples only have one directory starting point, since I have not experimented with multiple starting points. # first variation my $dir = &q

a problem about File::Find

2000-10-22 Thread Íõ¾ü
hi, This is the referrence about File::Find >use File::Find; >find(\&wanted, '/foo', '/bar'); >sub wanted { ... } who can tell me the use of '/foo' and '/bar'? what are they ? Thank you!! --http://www.eyou.com --Îȶ¨¿É¿