Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: error message txtFile comparison with output in another txtfile

by Fang (Pilgrim)
on Jul 14, 2005 at 22:12 UTC ( [id://475070]=note: print w/replies, xml ) Need Help??


in reply to Re: error message txtFile comparison with output in another txtfile
in thread error message txtFile comparison with output in another txtfile

The variable in the foreach loop should also be properly declared, and preferably not called $a.

for my $pattern (@gen) { my @result = grep/^\Q$pattern\E$/, @sea; push (@final , @result); }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://475070]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-29 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found