Print FH to file.

2010-10-23 Thread KA B
I`m trying to get the filehandler 1 and 2 to print the result in one line. The script i have made makes 2 lines. The script goes like this: my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime; $year += 1900; $mon += 1; open FH,"echo $year-$mon-$yday $hour:$min >> /home/me/script

Re: Print FH to file.

2010-10-25 Thread KA B
On Oct 23, 6:45 pm, shlo...@iglu.org.il (Shlomi Fish) wrote: > Hi KA B, > > On Friday 22 October 2010 21:12:29 KA B wrote: > > > I`m trying to get the filehandler 1 and 2 to print the result in one > > line. > > It's filehandles - not filehandlers. > &g