in reply to split split
Pretty close. I think you want:
(split /#/)[0] [download]
See the Copyright notice on my home node.
Perl training courses