[ create a new paste ] login | about

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

kinaba - Perl, pasted on Feb 20:
1
2
3
4
5
6
7
8
9
BEGIN {
	if( rand() > 0.5 ) {
		eval( "sub f {}" );
	} else 	{
		eval( "sub f() {}" );
	}
}

f / # / ;


Output:
1
2
syntax error at line 9, at EOF
Execution aborted due to compilation errors.


Create a new paste based on this one


Comments: