|
From: Shlomi F. <sh...@vi...> - 2003-01-19 18:29:33
|
On Sun, 19 Jan 2003, Orna Agmon wrote: > Shlomi, > > I was perfectly fine with $` and $', which are standard perl. The fact > that you do not know them is not sufficient to allow for you to change > those in HEAD (into patterns which improve nothing). > $POSTMATCH and $PREMATCH are their use English names. When I see such variables, they confuse the hell out of me. I am familiar with common variables such as $_, @_, $@, $0, etc. but not with every obscure perl variable out there. use English is considered a good way to make your code more readable and maintinable. > > Now the Use English part: Aside from the fact that it seems unstable, what > is the benefit of using this package? > That it gives you $POSTMATCH and $PREMATCH. > http://archive.develooper.com/per...@pe.../msg89633.html > > Regarding examples.txt: It is not broken becasue make_site.pl does not > handle links within examples. As I previously said, it is not meant to do > that. Examples are text only: computer output. The page that was there is > under constraction, waiting for a textual example. > There was such a link in one of the pages and I had to fix it myself. It occurs whenever an HTML tag is broken in the middle. Here's a test case: <h1>Examples</h1> <div class="example"> BeginExampleHere Hallelujah <a href="hello"> You </a> EndExampleHere </div> > AFAIK, neither I nor Muli authorized this change in HEAD. > > Shlomi, I hate opening the code and finding undesirable changes in it. > I have enough on my head without having to find out if you broke something > in HEAD. > I did not break anything. I'm sorry that I changed these obscure variables into something more readable. I can change them back if you want. But I think that use English; is considered a good idea. I always use it. Regards, Shlomi Fish > > ---------------------------------------------------------------------- Shlomi Fish sh...@vi... Home Page: http://t2.technion.ac.il/~shlomif/ He who re-invents the wheel, understands much better how a wheel works. |