ok thanks, that does help, although if I add package myapp:Upload_file I get a Workflow module error:
Can't use an undefined value as an ARRAY reference at /ebi/msd/sw/x86_
+64/pkg/perl-5.8.8/lib/site_perl/5.8.8/Workflow/Action.pm line 66.
which relates to this function in Action.pm of Workflow:
sub get_validators {
my ($self) = @_;
return @{ $self->{_validators} };
}
think this is basically telling me that I have to have validators in the workflow not just a workflow.xml and action.xml - the cpan docs arent too clear on what is optional and this is my first outing into workflows ;+)
ok nailed it, I had mistakenly put a constructor in the application class, now works