Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $num = "1,002,345";
    
    my $total = $num + 1000;
    
  2. or download this
    perl test.pl
    Argument "1,002,345" isn't numeric in addition (+) at test.pl line 8.