...@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
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
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
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
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
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.
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.
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
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
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
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
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
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,
"
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
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
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:
> 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
> 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
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
<>
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
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
--Îȶ¨¿É¿
21 matches
Mail list logo