[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] MacPerl::Choose



I couldn't make MacPerl::Choose work. When I run something like below

---------------------
#!perl

require "GUSI.ph";

$dir = MacPerl::Choose(GUSI::AF_FILE, 0, "","", GUSI::CHOOSE_DIR);

print $dir,"\n";
----------------------

I get
-----------------------
# Argument "GUSI::AF_FILE" isn't numeric for subroutine entry.

# Argument "GUSI::CHOOSE_DIR" isn't numeric for subroutine entry.
----------------------

I am using MacPerl 5.0.6.r1m

thanks

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"