RE: Request from Beginner

2002-03-05 Thread Michael Stidham
Here is a good link to get started... http://www.spu.edu/help/tech/basic-perl/ >From: Jason Larson <[EMAIL PROTECTED]> >To: 'Raja Gopal' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: RE: Request from Beginner >Date: Tue, 5 Mar 2002 07:45:14 -0600 > &g

RE: Request from Beginner

2002-03-05 Thread Jason Larson
> -Original Message- > From: Raja Gopal [mailto:[EMAIL PROTECTED]] > Subject: Request from Beginner > > Hello All, > > I would like to learn PERL for handling files. > (Open, edit, close, write, delete some lines, pattern > matching..etc). I did search in the net (using > Google.com)

Re: Request from Beginner

2002-03-05 Thread jbajin
Hello, Here is some info about opening and closing files. You can open a file by using the following syntax: open(DOG,"/home/scotty/data/dogs") || die "Couldn't open DOG.\n"; To Close a file use: close(DOG); For File Globbing try: while($x = ) { open(FILE,"$x") || die "Couldn't op