Simple perl question

I am totally new to perl. I am modifying someone else's script. I have the following output:

# ./some-perlscript
A
B
C
D
E

B - E, is generated through the print command that I put in the script. I want to remove A, it seems it is generated automatically by a custom OS it is querying when I run a specific command in the script, so I want the output to be

# ./some-perlscript
B
C
D
E

Hello is it closed source? that you are abstaining from showing us the perl code?
what do you mean by custom OS? is it a syscall that you mean?
##This is none of your street fights##
Do reply,
Regards

Yes the code is closed source as it is not mine to post. Also I was wondering if a simple pipe to awk would satisfy this?

I have the following command:

#./some-perlscrip | awk 'BEGIN {FS="\n"} {print $2, $3, $4, $5}

But its not working it is only printing

A

instead of

B
C
D
E

---------- Post updated at 05:48 PM ---------- Previous update was at 05:40 PM ----------

Actually nevermind guys, I just redirected the output to a file and got the expected results.

Thanks!

$
$ ./some-perlscript
A
B
C
D
E
$
$ ./some-perlscript | awk 'NR>1'
B
C
D
E
$
$ # or maybe this
$ ./some-perlscript | perl -lne 'print if $.>1'
B
C
D
E
$
$

tyler_durden