http://www.perlmonks.org?node_id=1003184


in reply to [SOLVED] Does split not work with a pipe?

See split. split takes a regular expression, not a string.