BackupPC-users

Re: [BackupPC-users] "File::RsyncP module doesn't exist" but the perl module is installed

2010-11-05 10:55:56
Subject: Re: [BackupPC-users] "File::RsyncP module doesn't exist" but the perl module is installed
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 05 Nov 2010 09:54:08 -0500
On 11/5/2010 9:32 AM, Farmol SPA wrote:
> -------- Original Message  --------
> Subject: Re: [BackupPC-users] "File::RsyncP module doesn't exist" but
> the perl module is installed
> From: Les Mikesell<lesmikesell AT gmail DOT com>
> To: backuppc-users AT lists.sourceforge DOT net
> Date: Fri Nov 05 2010 14:46:50 GMT+0100 (ora Solare Europa Occidentale)
>> What does it say if you just 'use File::RsyncP' in a perl script without the
>> eval to hide the real error message?
>
> Here it is:
>
>> $ sudo su backuppc -
>> sh-3.2$ perl -e 'use File::RsyncP; if ($@) {print "true\n";} else
>> {print "false\n";}'
>> false
>> sh-3.2$
>
> Same output...

That's not the error you would get for a file that doesn't exist.  There 
must be something wrong with the content of the file (the first match in 
the @INC path in case there is more than one).  What does 'perl -c' say 
about the module, and is the last executable line (before the __END__) a 
'1;'?

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/