[ create a new paste ] login | about

Link: http://codepad.org/TQ6XToP5    [ raw code | output | fork ]

C, pasted on Oct 18:
1
2
3
my @foo = ["aAa", "bbb"];
my @bar = grep(/^aaa/i, @foo);
print join ",",@bar;


Output:
1
2
3
4
5
6
7
Line 1: error: stray '@' in program
Line 1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'foo'
Line 2: error: stray '@' in program
Line 2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bar'
Line 2: error: stray '@' in program
Line 3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'join'
Line 3: error: stray '@' in program


Create a new paste based on this one


Comments: