in reply to Grid::Machine

The remote machine doesn't know about your lexical variables, you have to pass those that you want to use as additional arguments to ->eval().

(Assuming you meant GRID::Machine, not Grid::Module which doesn't seem to exist on CPAN). (Update: the OP has changed the title in the mean time...)

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.