On Thu, Jan 28, 2016 at 9:03 AM, Bowie Bailey <bowie_bai...@buc.com> wrote: > On 1/28/2016 9:32 AM, Gandalf Corvotempesta wrote: >>> >> Config saved by web interface: >> # grep '$Conf{FullPeriod}' config.pl >> $Conf{FullPeriod} = '6.97'; >> >> Original config, prior saving from web. >> # grep '$Conf{FullPeriod}' config.pl.old >> $Conf{FullPeriod} = 7.97; >> >> >> In the first case, FullPeriod is a string, in the second, is a float. >> Now i'm trying with the "string" version..... let's see > > This is Perl. There is no real distinction between strings, integers, > and floats. 7.97, '7.97', and "7.97" (along with a few other more > obscure variants) will all be interpreted the same. >
Yes, perl treats variables as all possible types simultaneously so you can use them without conversions - but on the other hand there is difference between '6.97' and 7.97. If that isn't a typo, something odd happened. -- Les Mikesell lesmikes...@gmail.com ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ 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/