my $program = (split /\./, ( split /[\\\/]/, $0)[-1] )[-2]; [download]
In reply to Re: Another Regular Expression Question by pelagic in thread Another Regular Expression Question by Scarborough