#!/usr/bin/perl use utf8; # or use Sjis; use strict; use warnings; my $ps = `ps -ef`; $0 = 'kamomekamome'; $ps = `ps -ef`;
Standard input is empty
Can't exec "ps": No such file or directory at prog.pl line 6. Use of uninitialized value $ps in print at prog.pl line 7. Can't exec "ps": No such file or directory at prog.pl line 11. Use of uninitialized value $ps in print at prog.pl line 12.