>$dir = MacPerl::Choose(&GUSI::AF_FILE, 0, "","", &GUSI::CHOOSE_DIR); After puting the ampersand (&) it worked for me too :-) I belive "MacPerl:pod:macperl.html" needs a small correction thanks again tufan --- Tufan ORUK <toruk@nps.navy.mil> <http://dubhe.cc.nps.navy.mil/~toruk> Naval Postgraduate School Monterey, CA "Everything is possible if you don't have to do it by yourself"