home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!digibd!vince
- From: vince@digibd.com (Vince Mar)
- Subject: Help Beginner
- Organization: DigiBoard Incorporated, Eden Prairie, MN
- Date: Mon, 25 Jan 1993 22:42:26 GMT
- Message-ID: <1993Jan25.224226.15695@digibd.com>
- Lines: 16
-
- Hi pros:
-
- This may be the FAQ but I really need someone's help.
-
- If a line of text data contains vary fields, say range from 4 to 32, what is
- the easiest way to get every field. Any way similar to UNIX set command to
- get $1..$n? For example: a line contains "Thu Jan 21 1993 21:22:00", I
- suppose can use splite to know number of fields, but then how to use "for" or
- "while" loop to get each field assign to other variables?
-
- Any help will be appreciated.
- --
- Vincent Mar vince@digibd.com
- DigiBoard, Digi International Inc.
- 6400 Flying Cloud Drive Tel: (612)943-9020
- Eden Prairie, MN 55344 Fax: (612)943-0803
-