Changes between Version 27 and Version 28 of Perl


Ignore:
Timestamp:
11/15/06 20:36:35 (18 years ago)
Author:
atzm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Perl

    v27 v28  
    538538hige 
    539539}}} 
     540 
     541== スクリプトを直接実行した時だけ呼ぶコード == 
     542 * とどのつまりは Python で言うところの {{{if __name__ == "__main__":...}}} . 
     543{{{ 
     544#!perl 
     545if (__FILE__ eq $0) { 
     546  ... 
     547} 
     548}}}