in reply to Re^2: Business Date Range Only
in thread Business Date Range Only

When I run your code in debug, DateCalc($start_date_parsed,$end_date_parsed) returns an empty string. If I add a 3rd parameter, 2 (per an example I found), it returns the days between in the form '0:0:1:4:0:0:0'. I think you need to examine the requirements of the module routines more carefully.

1 Peter 4:10

Replies are listed 'Best First'.
Re^4: Business Date Range Only
by Anonymous Monk on Aug 05, 2014 at 16:50 UTC
    How do you run it in 'debug' mode??

      Use perl -d instead of perl to execute your script. You can step thru the program line by line and inspect variables. See this tutorial first; later you can look at the full documentation.

      1 Peter 4:10