use File::Basename; $dir = &dirname($INC{'Time.pm'}); $dir .= 'beginning.txt'; open FILE, "<$dir" or die "can't open '$dir' for input"; yields # can't open ':beginning.txt' for input. --Nick # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org