Subject: | Can't parse some entries |
An entry like this:
CRON = */2 * * * *
or even this:
CRON = "*/2 * * * *"
Causes this:
invalid syntax: found end of C-comment without previous start!
at /usr/local/tools/backup/perlmods/lib/Config/General.pm line 580
Config::General::_read('Config::General::Interpolated=HASH(0x8f04354)',
'IO::File=GLOB(0x8f2d6a8)') called at
/usr/local/tools/backup/perlmods/lib/Config/General.pm line 524
Config::General::_open('Config::General::Interpolated=HASH(0x8f04354)',
'File::Temp=GLOB(0x8f043d8)') called at
/usr/local/tools/backup/perlmods/lib/Config/General.pm line 178
Config::General::_process('Config::General::Interpolated=HASH(0x8f04354)')
called at /usr/local/tools/backup/perlmods/lib/Config/General.pm line 122
One can work around it with this sort of nonsense:
CRON = *\/2 * * * *
or even:
CRON = *foo/2 * * * *
so long as one removes the workaround ('\' or 'foo', respectively)
before using the item.
Not sure what to suggest here, as */ is clearly a c-style comment end
with no beginning. But if quoted, I suspect it should make it all better.