The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Piping in Perl
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Piping in Perl
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
09-03-2008
Raynon
Registered User
Join Date: Sep 2006
Location: Sg
Posts: 350
Hi Era,
What if the terms we want to match is an array ?
I tried the below and it doesn;t seem to work.
Eg
Code:
if($_ =~ @array_x[$num] && $_ =~ @array_y[$num] ) {print "We've got a match!\n"}
Raynon
View Public Profile
Find all posts by Raynon
Find Raynon's past nominations received
Find Raynon's present nominations given