Help for this page

Select Code to Download


  1. or download this
    $a = 1
    $b = 2
    
  2. or download this
    print "enter username:";
    chomp($uname=<STDIN>);
    ...
    open(USERFILE);
    # Whatever the solution to my problem is
    print $a + $b;
    
  3. or download this
    enter usename:test1
    3
    
  4. or download this
    1
    2
    
  5. or download this
    chomp($a = <USERFILE>);
    chomp($b = <USERFILE>);