0_0_22381983_1707.cpp:1:1: error: stray '@' in program
@str =<STDIN>;
^
0_0_22381983_1707.cpp:2:16: error: stray '@' in program
foreach $line (@str)
^
0_0_22381983_1707.cpp:4:2: error: stray '@' in program
@arr = split(/\s/, $line);
^
0_0_22381983_1707.cpp:4:2: error: stray '\' in program
0_0_22381983_1707.cpp:5:9: error: stray '@' in program
print (@arr[0] + @arr[1]."\n");
^
0_0_22381983_1707.cpp:5:19: error: stray '@' in program
print (@arr[0] + @arr[1]."\n");
^
0_0_22381983_1707.cpp:6:3: error: stray '@' in program
} @str =<STDIN>;
^
0_0_22381983_1707.cpp:7:16: error: stray '@' in program
foreach $line (@str)
^
0_0_22381983_1707.cpp:9:2: error: stray '@' in program
@arr = split(/\s/, $line);
^
0_0_22381983_1707.cpp:9:2: error: stray '\' in program
0_0_22381983_1707.cpp:10:9: error: stray '@' in program
print (@arr[0] + @arr[1]."\n");
^
0_0_22381983_1707.cpp:10:19: error: stray '@' in program
print (@arr[0] + @arr[1]."\n");
^
0_0_22381983_1707.cpp:1:2: error: 'str' does not name a type
@str =<STDIN>;
^
0_0_22381983_1707.cpp:2:1: error: 'foreach' does not name a type
foreach $line (@str)
^
0_0_22381983_1707.cpp:6:4: error: 'str' does not name a type
} @str =<STDIN>;
^
0_0_22381983_1707.cpp:7:1: error: 'foreach' does not name a type
foreach $line (@str)
^
|