home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!panther!mothost!merlin.dev.cdx.mot.com!fendahl.dev.cdx.mot.com!mcook
- From: mcook@fendahl.dev.cdx.mot.com (Michael Cook)
- Subject: Re: sorting problem
- Message-ID: <mcook.722017696@fendahl.dev.cdx.mot.com>
- Sender: news@merlin.dev.cdx.mot.com (USENET News System)
- Nntp-Posting-Host: fendahl.dev.cdx.mot.com
- Organization: Motorola Codex, Canton, Massachusetts
- References: <1992Nov12.211431.6740@news.eng.convex.com> <1992Nov15.141016.4803@wisipc.weizmann.ac.il>
- Date: Tue, 17 Nov 1992 16:28:16 GMT
- Lines: 17
-
- dov@menora.weizmann.ac.il (Dov Grobgeld) writes:
-
- >tchrist@convex.COM (Tom Christiansen) writes:
- >: :
- >:
- >: for (@data) { push(@idx, /^[^;]*;(.*)/) }
- > ^^^^^^^^^^^^
- >According to the book m// returnes true (1) or false ('').
-
- Not always.
-
- If used in a context that requires an array value, a pat-
- tern match returns an array consisting of the subexpres-
- sions matched by the parentheses in the pattern, i.e.
- ($1, $2, $3...).
-
- Michael.
-