fork download
  1. #!/usr/bin/perl
  2. # your code goes here
  3.  
  4.  
  5. sub test {
  6. 'Oops'
  7. }
  8.  
  9. %a = {test => 'Test'};
  10.  
  11. say %a;
Runtime error #stdin #stdout #stderr 0s 6056KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Operator or semicolon missing before %a at prog.pl line 11.
Ambiguous use of % resolved as operator % at prog.pl line 11.
Illegal modulus zero at prog.pl line 11.