$ ssh localhost perl ~/test.pl Global symbol "$c" requires explicit package name (did you forget to declare "my $c"?) at /home/javi/test.pl line 4. Execution of /home/javi/test.pl aborted due to compilation errors. $ echo $? 255