fork download
  1. #!/usr/bin/perl -w
  2. use v5.14;
  3.  
  4. my ($x, $y) = split ' ', <>;
  5. say $x + $y
  6.  
Success #stdin #stdout #stderr 0s 3608KB
stdin
Standard input is empty
stdout
0
stderr
Use of uninitialized value $y in addition (+) at prog.pl line 5.
Use of uninitialized value $x in addition (+) at prog.pl line 5.