in reply to extract file name from path
Simple, just rule out dashes from the filename:
my $line = "root 30145 1 0 Jan30 ? 00:09:01 /root/java/app/java_app_1R
print "$1\n" if $line =~ m|/([^/]+)\.java\s|;
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (520 votes). Check out past polls.