[ Create a new account ]
if (s/^\((.+)\)$/$1/) { s/\\\|:/ /g; s/[:|\\]//g;}
It kind of makes my eyes hurt a bit. Who says Perl looks like line noise? :)
if( /^\(/ && /\)$/ ){ $_ = substr($_,1,-1); s/\\\|:/ /g; y/:|\\//d;}
Damn, the buttons are in a different order than the monastery.
I've been bitten by that one more than one occassion :)
Get More Comments
Reply
A bit cleaner (and probably faster ;-) (Score:2)
if(
$_ = substr($_,1,-1);
s/\\\|:/
y/:|\\//d;
}
Were that I say, pancakes?
Re:A bit cleaner (and probably faster ;-) (Score:2)
than the monastery. The if statement could
arguable be cleaner with use of index and
rindex.
Were that I say, pancakes?
Button, button, whose got the button? (Score:2)
Damn, the buttons are in a different order than the monastery.
I've been bitten by that one more than one occassion :)