in reply to
Re^5: Problem with around BUILDARGS
in thread Problem with around BUILDARGS
Hello, I'm trying to use the accessor as string.
That is the method in my class:
sub startServer {
my $self = shift;
defined(my $pid=fork) or die "Cannot fork: $!";
unless ($pid) {
eval {
exec 'java -jar '.$self->serverLocation;
};
die "Impossibile far partire il server selenium: $@\n;" if ($@
+);
}
}
Thank you for your help.
I'm interested to solve this problem for knowledge reason, not for production... so I'm not in any hurry.