Thanks to ikegami (the "/" separator is not always the case with $^X):($\={})=~s/(?<=.).+//&&print+(q/J/,\//=~ /..(\S)/&&$1.$2.($^X=~/.+\/(.)/&&uc($1)))
($\={})=~s/(?<=.).+//&&print+(q/J/,\//=~ /..(\S)/&&$1.$2.($^X=~/\W(.)\w+\.?\w*?$/&&uc($1)))
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ref and JAPH
by ikegami (Patriarch) on Jan 09, 2009 at 19:01 UTC |