in reply to Issue with Exporter

Can anyone tell whether it is valid code

Oh, it's completely valid code. It just doesn't do what you want it to :-)

You need to add

require Exporter;

to one.pm.

It's all very well setting up the @EXPORT variable, but you need to load the Exporter code in order for it to make any difference.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg