On 9/8/2011 3:01 PM, hans...@gmail.com wrote: > I managed to track down the source of my original problem, and decided > it was worth posting to the end of this ridiculous thread just in case > it's useful for future googlers. The cause was the empty value - two > quotes at the end of this: > > $Conf{RsyncShareName} = [ > '/cygdrive/c', > '' > ]; snip > I believe I may have gotten the syntax from an example of another > rule, perhaps the files exclude, and I believe it might be useful when > you're working with long lists (perhaps externally generated/sorted) > and want to be sure to have a comma at the end of every line. > > But not with the RsyncShareName variable. Here is a correct example: > > $Conf{RsyncShareName} = [ > '/cygdrive/c' > ];
Just a note that a comma at the end of the last element in an array or hash is perfectly fine in Perl. This is also a correct example: $Conf{RsyncShareName} = [ '/cygdrive/c', ]; -- Bowie ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/