$perl = 1 if nil;
eval '
        if ( 2 > 1 ) {
                print "Hi, I\'m Perl!\n";
        }
' if $perl;
eval '
        if 2 > 1
                puts "Hi, I\'m Ruby"
        end
' if ! $perl;
Find a way to do the same with Python+Ruby (or try any other pair of languages you know).
 
https://gist.github.com/VadimPushtaev/5612054
ReplyDelete