Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Comparing arrays

by muba (Priest)
on Jun 27, 2012 at 12:28 UTC ( [id://978637]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    syntax error at G:\x.pl line 5, near "my "
    Global symbol "@words2" requires explicit package name at G:\x.pl line
    + 5.
    Execution of G:\x.pl aborted due to compilation errors.
    
  2. or download this
    use strict;
    use warnings;
    ...
    <my @words1 = <INPUT1>;
    >
    <print "<$_>\n" for @words1;>
    
  3. or download this
    my @words1 = map {chomp; $_} <INPUT1>;
    my @words2 = map {chomp; $_} <INPUT2>;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2024-04-23 08:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found