All pastes #897855 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-02-09 21:56 UTC
rendered paste body
#!/usr/bin/perl
while(<STDIN>){
last if length($_) == 0;
}
print "GET VARIABLE myvar\n";
$result = <STDIN>;
chomp($result);
if($result =~ m/(?<=result=[0-1]\s\()[^)]*/){
print $1 . "\n";
}