Using
instead of just#!/usr/bin/perl -w use strict; use diagnostics;
#!/usr/bin/perl
will help you enormously.
You should get into the the habit of using those 3 lines for every script you write while you are learning. Regardless of how good you get, you should always use the first 2 lines.
Just in case you missed it, I added -w to the first line.
PN5
In reply to Re: Date:Calc
by Prior Nacre V
in thread Error calling Date:Calc Date_to_Days
by pietyc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |