Re: fileOperations using perl

2007-10-08 Thread Jenda Krynicky
From: "Siva Prasad" <[EMAIL PROTECTED]> > I am trying to do (read/write/append) operations on file using oops in perl. WHY??? I mean if it's just an exercise, so be it, otherwise it's simply pointless. Sorry to say that, but this looks like a case of an OOoverdose. > But I am getting the follo

RE: fileOperations using perl

2007-10-04 Thread Siva Prasad
Hi Jeff, This works thanks a lot. Regards, PP. -Original Message- From: Jeff Pang [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 1:39 PM To: Siva Prasad Cc: beginners@perl.org Subject: Re: fileOperations using perl 2007/10/4, Siva Prasad <[EMAIL PROTECTED]>:

Re: fileOperations using perl

2007-10-04 Thread Jeff Pang
2007/10/4, Siva Prasad <[EMAIL PROTECTED]>: > Can somebody help me in understanding where am I going wrong and the correct > way of doing the same. > Hi, Hope the codes below explain what you asked. $ cat FileOperations.pm package FileOperations; use strict; use warnings; use File::Slurp qw (re

fileOperations using perl

2007-10-04 Thread Siva Prasad
Hi Gurus, I am trying to do (read/write/append) operations on file using oops in perl. But I am getting the following error Bareword "FileOperations" not allowed while "strict subs" in use at readwriteapp end.pl line 14. BEGIN not safe after errors--compilation aborted at readwr