Re: some doubt

2003-12-12 Thread Jim Burnett
Yes, do a search on google. I did this. -Jim - Original Message - From: "Ajey Kulkarni" <[EMAIL PROTECTED]> To: "drieux" <[EMAIL PROTECTED]> Cc: "Perl Perl" <[EMAIL PROTECTED]> Sent: Saturday, December 13, 2003 6:20 AM Subject: some doubt > hi, > How can i rename a file and check the s

Re: some doubt

2003-12-12 Thread Rob Dixon
Ajey Kulkarni wrote: [some stuff] Before this gets lost as a subthread I'm reposting it. I hope I catch most potential responses. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: some doubt!

2002-11-12 Thread John W. Krahn
Pravesh Biyani wrote: > > hi Hello, > i have a prog which should create a file according to the date and name > it "$date.log" and write something depending upon other things in it! > Here is the code.. which refuses to work > > -- >

Re: some doubt!

2002-11-12 Thread Pravesh Biyani
thanks verymuch.. the prgm working fine now!! cheers pravesh Frank Wiles wrote: .--[ Pravesh Biyani wrote (2002/11/12 at 17:49:14) ]-- | | hi | i have a prog which should create a file according to the date and name | it "$date.log" and write something depending upon other things

Re: some doubt!

2002-11-12 Thread Paul
By the way, always check your return code. My suggestion would be to use open OUTFILE, $OUTFILE or die $!; --- Paul <[EMAIL PROTECTED]> wrote: > > | $probefile = " > | $OUTFILE = ">>$probe_logfile"; > > | open(probefile) or die("ERROR: $! \n"); > > | open(OUTFILE) or die ("ERRROR :$! \n

Re: some doubt!

2002-11-12 Thread Paul
> | $probefile = " | $OUTFILE = ">>$probe_logfile"; > | open(probefile) or die("ERROR: $! \n"); > | open(OUTFILE) or die ("ERRROR :$! \n"); > You're not using open() correctly. You need to have something > along the lines of: > open(PROBE, $profile); > open(OUT, $OUTFILE); Actu

Re: some doubt!

2002-11-12 Thread Paul
--- Pravesh Biyani <[EMAIL PROTECTED]> wrote: > i have a prog which should create a file according to the date > and name it "$date.log" and write something depending upon > other things in it! Here is the code.. which refuses to work > any clues.. ? > $prefix_file = ` date '+%x' ` ; accordin

Re: some doubt!

2002-11-12 Thread Frank Wiles
.--[ Pravesh Biyani wrote (2002/11/12 at 17:49:14) ]-- | | hi | i have a prog which should create a file according to the date and name | it "$date.log" and write something depending upon other things in it! | Here is the code.. which refuses to work | | any clues.. ? |