Your "requirements" here seem extremely minimal and I agree with @ikegami it's hard to tell if you want to match against text in the array or print out an element by index. Perhaps if you read through perlintro you can add to your question and ask for more advanced help based on code you might try writing yourself.
Here is a command line that does what your question originally asked. If you run perldoc perlrun on your system it will show you the various command line switches you can use for perl one-liners.
-0400 - slurps input
-a - autosplits the file into an array called @F using a single white space as the split character.
-n - run in an implicit while (<>) { } loop that reads input from the file on
-E - execute the script between ' '
So with lines.txt equal to your text file above:
`perl -0400 -a -n -E 'say $F[3];' lines.txt`
outputs: DDD