Wednesday, January 9, 2013

Perl script 자신의 이름 얻어내는 법

command line 에서 타이핑된 Perl command 의 이름을 얻으려면
$0 로 받으면 된다.
 print($0 . "\n");  

No comments:

Post a Comment