Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^7: difference between two files

by marto (Cardinal)
on Dec 20, 2013 at 12:34 UTC ( #1067945=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Unrecognized character \xE2; marked by <-- HERE after $s<-- HERE near 
    +column 3 at ./foo.pl line 3.
    
  2. or download this
    bash-4.2$ hexdump -C foo.pl
    00000000  23 21 2f 75 73 72 2f 62  69 6e 2f 65 6e 76 20 70  |#!/usr/bi
    +n/env p|
    ...
    000001c0  0a 73 79 73 74 65 6d 20  22 63 61 74 20 24 73 e2  |.system "
    +cat $s.|
    000001d0  80 8e 63 72 69 70 e2 80  8e 74 22 3b 0a           |..crip...
    +t";.|
    000001dd
    
  3. or download this
    use strict;
    use warnings;
    ...
    foreach $line (<MYFILE>) {
    print "$line" if $. >= $cnt;
    }
    
  4. or download this
    ./xx.pl: line 1: use: command not found
    ./xx.pl: line 2: use: command not found
    ./xx.pl: line 4: syntax error near unexpected token `$cnt,$line,@cnt_f
    +ile'
    ./xx.pl: line 4: `my ($cnt,$line,@cnt_file); '
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2021-12-08 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (36 votes). Check out past polls.

    Notices?