[ create a new paste ] login | about

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

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


Output:
1
2
3
4
5
6
7
8
9
10
11
Line 1: error: stray '@' in program
Line 1: warning: data definition has no type or storage class
Line 1: warning: initialization makes integer from pointer without a cast
Line 1: error: initializer element is not constant
Line 2: error: stray '@' in program
Line 2: warning: data definition has no type or storage class
Line 2: error: expected expression before '/' token
Line 2: error: stray '@' in program
Line 2: error: initializer element is not constant
Line 3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'join'
Line 3: error: stray '@' in program


Create a new paste based on this one


Comments: