/ Published in: Perl
                    
                                        Dunno why, but it does not validates. And the result seems right.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 while(<>) { s/\^/\(/g; #subs ^ x ( s/\$/\)/g; #subs $ x ) my $changed=0; while($changed==0) { { { { { }else { $changed=1;} } }
Comments
                    Subscribe to comments
                
                