Help for this page

Select Code to Download


  1. or download this
    use Modern::Perl;
    
    my $a = '0001';
    say 'The variable $a contains: ', $a;
    say 'The sum of $a and 1 is: ', $a + 1;
    
  2. or download this
    The variable $a contains: 0001
    The sum of $a and 1 is: 2