in reply to Error calling Date:Calc Date_to_Days
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
2Re: Date:Calc
by jeffa (Bishop) on Mar 09, 2004 at 15:41 UTC | |
|
Re: Re: Date:Calc
by pietyc (Initiate) on Mar 10, 2004 at 21:03 UTC |