Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^6: comparing contents of two arrays and output differences

by PitifulProgrammer (Acolyte)
on Jan 05, 2015 at 13:54 UTC ( [id://1112195]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @xml_files = glob( '*xml' );
    #say for @xml_files;
    ...
    my @results = diff \@joint_files, $format { STYLE => "Table" };
    
    say for @results;
    
  2. or download this
    
    C:\dev>perl comparing_files_3_using_text_diff.pl ./file_compare_on_lis
    +ts
    ...
    Global symbol "%format" requires explicit package name at comparing_fi
    +les_3_usin
    g_text_diff.pl line 20.
    Global symbol "@results" requires explicit package name at comparing_f
    +iles_3_using_text_diff.pl line 22.
    

Log In?
Username:
Password:

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

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

    No recent polls found