__FILE__ is the actual file that the Perl interpreter deals with during compilation, including its full path.
사용예:
use File::Basename;
my $dirname = dirname(__FILE__);
레퍼런스 : How do I get the full path to a Perl script that is executing?
Tuesday, June 16, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment