Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hpl-opus!hpccc!isaacs From: isaacs@hpccc.HP.COM (Stan Isaacs) Newsgroups: comp.lang.perl Subject: How can I use the ARGV array as /PATTERN/? Message-ID: <12170002@hpccc.HP.COM> Date: 21 Jan 90 02:31:18 GMT Organization: HP Corp Computing & Services Lines: 6 Anybody know an easy way to use an array for a pattern in Perl? That is, I want to use the @ARGV array as an "or" pattern (as fgrep -f does) to choose lines from a file that contain any of the parameters. Thanks.. -- Stan