in reply to Can I open a specific file (eg. '.log') without knowing the actual name of it?

readdir will give you a list of all the files in the current directory. You could use that and just exclude the script's filename.

my $name = 'Ben Kittrell'; $name=~s/^(.+)\s(.).+$/\L$1$2/g; my $nick = 'tha' . $name . 'sta';