Yeah, I get that it's valid Perl code, but it doesn't cause the computer to do something, or give an interesting output. A human can read it and find it interesting. I tried to say that in a witty way. Oh well...
It not doing anything matters - generally, code poetry is something that does do something interesting while being relevant to human interpretation; so code that simply validates syntactically isn't that amazing.