Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: edwerd.pl: vocabulary generation

From:Ed Heil <edheil@...>
Date:Wednesday, August 25, 1999, 4:34
--------------9355556451480446385
Content-Type: text/plain; charset="iso-8859-1"

17.hzV.tRL.478 wrote:

> > $data =~ s/\s*\s$//g; # rmv spaszez @ end ov ztr!ng
So if there's no trailing space, there's no match and no substitution... Very nice! If you can see a way that I could have done this in line 35 of the program instead of waiting for a few lines, I'll dub thee genius. If you don't mind, I'll leave "rmv spaszez @ end ov ztr!ng" in the program to thank you. :)
> > >I would welcome > >constructive criticism. > > constructive criticism != ecz!zt
Oh, sure it does! Or are you saying this program is so pathetic one could not find anything constructive to say about it? Ed --------------9355556451480446385 Content-Type: application/octet-stream; name="edwerd.pl" Content-Disposition: attachment; filename="edwerd.pl" Content-Transfer-Encoding: base64 IyEvdXNyL2xvY2FsL2Jpbi9wZXJsDQojIGVkd2VyZCwgYnkgRWR3YXJkIEhlaWwgKGVkaGVp bEBwb3N0bWFyay5uZXQpDQojIHRoaXMgaXMgYSBtb2RpZmllZCB2ZXJzaW9uIG9mIENocmlz IFBvdW5kJ3MgJ3dlcmQnIHByb2dyYW0NCiMgZm91bmQgYXQgaHR0cDovL3d3dy5ydWYucmlj ZS5lZHUvfnBvdW5kLw0KIyANCiMgSXQgdGFrZXMgYSBydWxlZmlsZSB3aGljaCBkZWZpbmVz IHRoZSB3YXkgcmFuZG9tIHdvcmRzIGFyZSBnZW5lcmF0ZWQNCiMgKHNlZSB0aGUgZXhhbXBs ZXMgb24gQ2hyaXMgUG91bmQncyBzaXRlKSBhbmQgaXQNCiMgbW9kaWZpZXMgYSBsZXhmaWxl IHdoaWNoIGNvbnNpc3RzIG9mIG1lYW5pbmdzLCBhbmQgb3B0aW9uYWxseQ0KIyB3b3Jkcy4g IFRoZSB3b3JkcyBzaG91bGQgZm9sbG93IHRoZSBtZWFuaW5ncywgYW5kIHRoZXkgc2hvdWxk IGJlDQojIHNlcGFyYXRlZCBieSB0aG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