Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    
    printf("A: \$%10.2f\n",$number);
    printf("B: \$%-10.2f\n",$number);
    
  2. or download this
    %shell > perl test.pl
    A: $    222.42
    B: $222.42
    
  3. or download this
    sub html_space {
        my $Rstring = shift;
        $$Rstring =~ s/ / /g; 
    }
    
  4. or download this
    #!/usr/bin/perl -w
    
    ...
        my $Rstring = shift;
        $$Rstring =~ s/ / /g; 
    }