BackupPC-users

Re: [BackupPC-users] Upgrading is changing many thins in config.pl?!

2011-02-08 14:24:26
Subject: Re: [BackupPC-users] Upgrading is changing many thins in config.pl?!
From: Bowie Bailey <Bowie_Bailey AT BUC DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 08 Feb 2011 14:22:22 -0500
On 2/7/2011 6:02 AM, Boniforti Flavio wrote:
> Hello everybody.
>
> I'm in the middle of upgrading on my Debian Sid of BackupPC and get many
> differences in the config.pl file. Besides the differences depending on
> custom parameters (done by me), the main differences I see are like:
>
> -$Conf{BackupPCNightlyPeriod} = '1';
> +$Conf{BackupPCNightlyPeriod} = 1;
>
> There is only one difference: the removal of the ' signs. Is this vital
> or may I leave the file untouched (thus saving me from doing changes to
> my actual configuration)?

This is just Perl code.  If the value is a number, Perl does not care if
there are quotes or not.  If the value is a string, then it has to be
quoted in some form.

-- 
Bowie

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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/