hijinks has asked for the wisdom of the Perl Monks concerning the following question:
but I need to run it from cron and since cron doesn't know about terminals it just creates an empty file. Is there a way to make this work?$str = formline <<'END', $key, $value; @<<<<<<<<<<@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< END open(DEV, ">/tmp/IDS-$date") or die "can't open file!\n"; print DEV $^A; close(DEV);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: formated text
by Taulmarill (Deacon) on Oct 08, 2003 at 14:32 UTC | |
|
Re: formated text
by dragonchild (Archbishop) on Oct 08, 2003 at 17:01 UTC | |
|
Re: formated text
by sgifford (Prior) on Oct 08, 2003 at 16:09 UTC | |
|
Re: formated text
by Abigail-II (Bishop) on Oct 08, 2003 at 15:02 UTC |