Help for this page
use File::Basename; use HTTP::BrowserDetect; ... ); my @file = basename($path, '\.[^\.]*');