Help for this page

Select Code to Download


  1. or download this
    print "Hello %(name)s! Today is %(day)s!" % ( 'name' : 1, 'day' : 2 );
    
  2. or download this
    use Text::Sprintf::Named;
    my $formatter = Text::Sprintf::Named->new(
    ...
    );
    
    $formatter->format({args => {'name' => "John", 'day' => "Thursday"}});