$str1=<stdin>; $str2="aa"; $x=index($str1,$str2); Until($i>$x) { print "$str1"; }
Standard input is empty
Standard output is empty
syntax error at prog.pl line 9, near ") {" Execution of prog.pl aborted due to compilation errors.
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!