Re: Suppressing Carp in a module

2014-01-01 Thread Shlomi Fish
Hi Lars, On Wed, 01 Jan 2014 12:38:17 +0200 Lars Noodén wrote: > Yes, happy new year 2014. > thanks! > On 01/01/2014 12:09 PM, Shlomi Fish wrote: > > > If it's a warning you can do «local $SIG{__WARN__} = sub { ... }». See %SIG > > in «perldoc perlvar» (see http://perldoc.perl.org/perlvar.ht

Re: Suppressing Carp in a module

2014-01-01 Thread Lars Noodén
Yes, happy new year 2014. On 01/01/2014 12:09 PM, Shlomi Fish wrote: > If it's a warning you can do «local $SIG{__WARN__} = sub { ... }». See %SIG in > «perldoc perlvar» (see http://perldoc.perl.org/perlvar.html - it's also > «perldoc > -v '%SIG'» in recent versions of the perldoc command). Tha

Re: Suppressing Carp in a module

2014-01-01 Thread Shlomi Fish
Hi Lars, Happy new year and I apologise for the late response. Please reply to list - http://shlom.in/reply . On Sat, 28 Dec 2013 20:05:12 +0200 Lars Noodén wrote: > DateTime::Event::Sunrise carps to stderr during the polar day or night. > From the man page: > >'the module "carp"s th

Re: Creating a new module

2014-01-01 Thread Sebastien Feugere
I would recommend a brian d. foy presentation from YAPC::EU 2010 : http://slideshare.net/brian_d_foy/create-and-upload-to-cpan I've use it with Module::Starter recently to create my fist module and share it on CPAN and it has been very effective. Sébastien On Tue, Dec 31, 2013 at 5:03 AM, Shlo