in reply to Re: File content written by script and a called script
in thread File content written by script and a called script
Now output is#!/usr/local/bin/perl $logFl = "xyz.log"; open (FIRSTFH, "> $logFl") || die "couldn't open file...$!\n"; print FIRSTFH "This is from first script\n"; system("script2.pl $logFl"); seek (FIRSTFH, 0, SEEK_END); print FIRSTFH "This is second print in first script\n"; ~
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File content written by script and a called script
by chilukuri_perl (Novice) on Sep 23, 2009 at 11:25 UTC |