ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activeperl
activeperl
Error on Perl Module File-Find-Rule when run .pl/and create exe
by Ramkumar other posts by this author
Oct 5 2009 10:16PM messages near this date
Help need on Net::SSH::Perl | Re: Error on Perl Module File-Find-Rule when run .pl/and create exe
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::Unique';

@imgfolder = File::Find::Rule-> file()->name('*.*')->in($imagepath);

foreach my $temp(@imgfolder)
{$temp=~s/\Q$imagepath\/\E//gi;push(@img_folder,$temp);}
my $flag;
for(my $i=0; $i<=scalar(@img_file);$i++)
{
	for(my $j=0; $j<=scalar(@img_folder);$j++)
	{
		if(@img_file[$i] eq @img_folder[$j])
		{$flag=1;}
	}
	if($flag==0){push(@difference,@img_file[$i]);}
	$flag=0;
}

Error While run:
=================
invalid top directory at C:/Perl/lib/File/Find.pm line 592

Note:
======
On this same path, module 'C:\Perl\lib\File\Find.pm' available. Also the
same Perl ran before some days back, but I am facing the error. 

Please anyone suggest how to solve this one.

Regards,

Ramkumar
R&D - Software Engineer


_______________________________________________
ActivePerl mailing list
ActivePerl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Ramkumar
Gaurav Vaidya
Bill Luebkert
Bill Luebkert
Ramkumar
Bill Luebkert
Ramkumar
Bill Luebkert
Ramkumar
Bill Luebkert
Torsten Werner

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved