Help for this page

Select Code to Download


  1. or download this
    use Data::Phrasebook;
    my $pb = Data::Phrasebook->new( file => 'phrases.txt' );
    my $str = $pb->fetch( 'baz', {foo => '${bar}', bar => '${foo}'} );
    # $str = 'foo is ${bar} and bar is ${foo}'
    
  2. or download this
    baz=foo is :foo and bar is :bar