in reply to
use strict;
I suspect you are not using semi-colons at the end of your lines.
Comment on
Re (tilly) 1: use strict;
In Section
Seekers of Perl Wisdom