2007-01-17 パスを含むファイル情報からファイル名を取る。 プログラム print basedir("/home/foo/aaa.txt"); と書けばよい。 aaa.txt 同じ要領でdirname(...)というのもある。