Hi Omega, On Thu, 13 Aug 2015 06:48:50 -0400 Omega -1911 <1911...@gmail.com> wrote:
> Hi - Can anyone help me understand why the following does not produce the > correct future date? > > my $exp_date = DateCalc('today', "+$membership_period days"); > > It works if I use: > > my $exp_date = DateCalc('today', "+7 days"); > That's not the complete code, so it's hard to reproduce. Please post a self-contained , reproducing example. For example, I don't know what DateCalc is and neither does https://metacpan.org/search?q=datecalc . You can also try using an interactive debugger: http://perl-begin.org/topics/debugging/ Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish Chuck Norris was never a newbie! He will kill anyone who implies otherwise. In a very not newbie-like manner. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/