Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    open my($in), "<:encoding(japhy)", "input" or die $!;
    open my($out), ">:encoding(japhy)", "output" or die $!;
    print $out $_ while <$in>;
    
  2. or download this
    < abc
    < def
    
  3. or download this
    > abc
    > def
    
  4. or download this
    open my($in), "<&:encoding(japhy)", "STDIN" or die $!;
    open my($out), ">&:encoding(japhy)", "STDOUT" or die $!;
    
  5. or download this
    < > abc
    < > def
    
  6. or download this
    open my($in), "<-:encoding(japhy)" or die $!;
    open my($out), ">-:encoding(japhy)" or die $!;
    
  7. or download this
    Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
      Platform:
    ...
        /usr/local/lib/site_perl
        /usr/local/lib/perl/5.8.7
        /usr/local/share/perl/5.8.7