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