whats wrong with this line using perl

E:\>perl -00ne 'push @a,"$_\0$ARGV\n";END{print reverse split/\0/ for sort @a}' file1-obj_prof.out.txt file2-obj_prof.out.txt'

Can't find string terminator "'" anywhere before EOF at -e line 1.

You have 3 single quotes on the line, so they're unbalanced.
'push...
...@a}'
....txt'

Looks like the last one's erroneous.

So the final code should look like?

Sorry I sound dumb, but I am not the expert in this. I would appericate your guidance.

perl -00ne 'push @a,"$_\0$ARGV\n";END{print reverse split/\0/ for sort @a}' file1-obj_prof.out.txt file2-obj_prof.out.txt

The single quote at the far right hand end of the line has gone

HI,

Still get an error:

E:\>perl -00ne 'push @a,"$_\0$ARGV\n";END{print reverse split/\0/ for sort @a}' file1-obj_prof.out.txt file2-obj_prof.out.txt'

Can't find string terminator "'" anywhere before EOF at -e line 1.

Assuming you've just pasted from your terminal, you still have the quote at the end of the line - get rid of it!

Yup, did that, still got an issue:

E:\>perl -00ne 'push @a,"$_\0$ARGV\n";END{print reverse split/\0/ for sort @a}' file1-obj_prof.out.txt file2-obj_prof.out.txt

Can't find string terminator "'" anywhere before EOF at -e line 1.