From owner-freebsd-questions Mon Nov 12 17:36:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ideal.net.au (ion.ideal.net.au [203.20.241.5]) by hub.freebsd.org (Postfix) with ESMTP id 5EF9737B405 for ; Mon, 12 Nov 2001 17:36:16 -0800 (PST) Received: from helium.ideal.net.au (helium.staff.ideal.net.au [202.3.35.2]) by mail.ideal.net.au (8.9.3/8.9.3) with ESMTP id MAA73479 for ; Tue, 13 Nov 2001 12:36:09 +1100 (EST) (envelope-from chris@ideal.net.au) Message-Id: <5.1.0.14.2.20011113122701.03794a68@mail.ideal.net.au> X-Sender: chris@mail.ideal.net.au X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 13 Nov 2001 12:36:06 +1100 To: freebsd-questions@FreeBSD.ORG From: Chris Aitken Subject: Re: Perl on FreeBSD In-Reply-To: <5.1.0.14.0.20011112171053.00a63d90@mail.maden.org> References: <20011113005355.GA36434@mercury.itworks.com.au> <5.1.0.14.2.20011113111839.03949520@mail.ideal.net.au> <5.1.0.14.2.20011113111839.03949520@mail.ideal.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 05:15 PM 12/11/2001, Christopher R. Maden wrote: >#!/usr/bin/perl -w > >use strict; # always use strict > >while ( ) # Read one line at a time from input or console. >{ > print $_; # Print the line that was read to stdout. >} Thanks to everyone who helped out on this. Basically, I was able to use a combo of all the replies, and was able to put it into a nice tidy little while loop, splitting all the data into variables and using the variable I needed. Cheers Chris -- Chris Aitken - Administration/Database Designer - IDEAL Internet email: chris@ideal.net.au phone: +61 2 4628 8888 fax: +61 2 4628 8890 __-----------------------------------------__ # ln -s /dev/null /bin/laden If you don't like my typing, all flames to /bin/laden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message