$script = 'foo.pl'; # or $script = ; chomp $script; $path = '/some/path/'; $script = $path . $script;