Show
Ignore:
Timestamp:
04/08/09 23:38:19 (4 years ago)
Author:
CL
Message:

ワンライナーによる設定方法追加

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/perl-users.jp/html/modules/config_pit.html

    r32141 r32143  
    3434        <h3>つかいかた</h3> 
    3535         
     36        <h4>設定</h4> 
     37         
    3638        <pre><code>use strict; 
    3739use warnings; 
     
    4345  password =&gt; "barbaz", 
    4446});</code></pre> 
     47         
     48        <p>または、ワンライナー</p> 
     49         
     50        <pre><kbd>perl -MConfig::Pit -e'Config::Pit::set("example.com", data=&gt;{ username =&gt; "foobar", password =&gt; "barbaz" })'</kbd></pre> 
     51         
     52        <h4>読み出し</h4> 
    4553  
    4654        <pre><code>use strict;