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