Subject: | Possible bug in Config::Crontab? |
Date: | Thu, 17 Jan 2008 14:04:33 +0100 |
To: | bug-config-crontab [...] rt.cpan.org |
From: | "Thomas Häcker" <T.Haecker [...] gmx.net> |
Hi,
i am using Config::Crontab and discovered a problem, i am not sure whether its a bug or if i didn't unterstand it.
My environment:
h938783:~# uname -a
Linux <mylinuxbox> 2.6.9-023stab044.16-enterprise #1 SMP Fri Nov 23 20:56:09 MSK 2007 i686 GNU/Linux
h938783:~# perl -v
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
Config-Crontab 1.21
If i use:
my $crontab = new Config::Crontab;
$crontab->owner('lmftp');
my @entries = $crontab->select( -type => 'event' );
I would expect to have the crontab events in my array @entries.
But if i i.e. print @entries[0] i see something like "Cronfig::Crontab::Event=HASH(0x8830c38)" instead of i.e. "* * * * * /usr/bin/foo"
Is this the normal behaviour?
What would be the right way to get "* * * * * /usr/bin/foo"?
Thank you in advance.
Best regards,
Thomas
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail