Hi all, I use Perl scripts in NoteTab Pro 4.95, with Perl 5.8.0., under Win XP Home Ed. When I was using Perl scipts in ealier versions of NoteTab Pro, and...
247
Larry Hamilton
lm_hamilton
Dec 13, 2003 3:18 pm
Piotr, I have not played with Perl recently, but I too have the same versions of each that you mention. I recall that the error log is in the same location. I...
248
Alan C.
acummingsus
Dec 13, 2003 9:33 pm
NoteTab Pro 4.95, with ActiveState Perl 5.8.1. build 807, under Win 2K SP4 ... XP Home Ed. ... [ it worked with earlier versions of O.S. and softwares . . But...
249
Piotr Bieńkowski
syntaxpb
Dec 19, 2003 9:24 am
Hi again, Has anybody figured out how to write scipts for Perl 5.8.0 so that the "code 26" character (which shows as a box in NoteTab) does not appear? For...
250
Sheri
silvermoonwo...
Dec 19, 2003 9:46 am
... Hi Piotr, See if this is of help -- http://groups.yahoo.com/group/ntb-scripts/message/201 My Perl is pretty rusty today. Sheri...
251
Alan C.
acummingsus
Dec 19, 2003 11:49 am
... A few months ago I went and queried on some Perl newsgroup if there be a commandline switch or anything to stop it from happening. But no. Evidently it...
252
Sheri
silvermoonwo...
Dec 19, 2003 4:43 pm
... Activestate Perl 5.81 build 807 on Win 2k SP4 ... Try it this way: while (<>) { if (eof && $] > 5.006) { $badchar = chr(26); s/($badchar)$//; } $item = $_;...
253
Sheri
silvermoonwo...
Dec 19, 2003 6:28 pm
... Win XP Home Ed. ... and with an earlier version of Perl, under Windows 95, if my script was wrong, there a file was written with the error message to the ...
254
Don Passenger
dpasseng@...
Dec 19, 2003 7:32 pm
I often test clip syntax using Wayne's Note Awk Library clip for perl syntax. I now write all of my scripts in taint mode, but the -T kills the error...
255
Sheri
silvermoonwo...
Dec 20, 2003 4:30 pm
Here's another way of dealing with the chr(26), but it requires the input to be read into a new array. It takes the chr(26) out of the bad record in the array....
256
Piotr Bieńkowski
syntaxpb
Dec 20, 2003 5:53 pm
W dniu Sat, 20 Dec 2003 16:30:23 -0000 ... Thanks Sheri, I learned new ways of doing old tricks :) Piotr...
257
Alan C.
acummingsus
Dec 21, 2003 4:54 am
... [ . clips - see earlier post for them . ] Hi Sheri, it's common on say newsgroups of perl.beginners comp.lang.perl.misc both of those two and it might...
258
Alan C.
acummingsus
Dec 21, 2003 5:07 am
Hi All, FWIW the 5.6.x versions of Activestate Perl did not get the box character into Ntab like the 5.8.x versions do. Pl 5.8 supports Unicode (if I've got...
259
Larry Hamilton
lm_hamilton
Dec 21, 2003 5:20 am
... NoteTab has the ability to open Unicode files. I asked for this about a year ago because one of the genealogy programs I use, exports to Unicode by ...
260
Sheri
silvermoonwo...
Dec 21, 2003 11:17 am
Hi Alan, Thanks for posting your experience, was wondering if you'd tried it. ... doc got emptied was the result. ... here -- but they just empty the doc. ... ...
261
acummingsus
Dec 21, 2003 8:42 pm
... [ . . ] ... by the path it appears you are running it in a way other than what i am. generally i run it (from within a clip library) like the perl script ...
262
Sheri
silvermoonwo...
Dec 22, 2003 12:30 am
Hi Alan, The StdError.err file gets deleted when you start running a Perl script. So if you have it loaded in a document buffer, you have to reload it to see...
263
Alan C.
acummingsus
Dec 22, 2003 5:27 am
... Hi, Got it running here! Notice next my get_around (for some unknown to me reason, my 'puter didn't like your line with 5.006 in it). It appears i guess...
264
Sheri
silvermoonwo...
Dec 22, 2003 2:13 pm
Hi Alan, Do you have nonprinting characters showing in your NTP? I'm thinking maybe something that looks like a space but isn't one got into your script either...
265
acummingsus
Dec 23, 2003 4:55 am
... There are no spaces. Ntab matters spaces, Perl doesn't, Perl could care less. The two if lines with 5.006 match. print "Current Perl Version is ", $],...
266
Sheri
silvermoonwo...
Dec 23, 2003 11:49 am
Hi Alan, Last try -- I posted a test clb library file with two clips in it that work fine for me. http://tinyurl.com/36lnb If they work, it must be something...
267
Piotr Bieńkowski
syntaxpb
Dec 23, 2003 12:15 pm
W dniu Tue, 23 Dec 2003 11:49:28 -0000 ... Hi Sheri, I started this thread :) , so here's my bit: I tested both clips and this is what I get from Perl figures...
268
Sheri
silvermoonwo...
Dec 23, 2003 1:59 pm
... wrote: Hi Piotr! Yes, yours works fine <g> Are you also on the clips list? I posted a new clip/script package for Notetab document history that uses Perl....
269
Piotr Bieńkowski
syntaxpb
Dec 23, 2003 2:07 pm
W dniu Tue, 23 Dec 2003 13:59:45 -0000 ... Yes, I thinnk I'm on almost all Notetab-related lists, maybe with the exception of the basic list and next-release...
270
Alan C.
acummingsus
Dec 23, 2003 8:56 pm
... Your url doesn't work for me at this time. I've already ruled out the files. Obviously works on Win XP. But Win 2k with some differences. I think it has...
271
Sheri
silvermoonwo...
Dec 24, 2003 1:19 am
... Try it this way: http://groups.yahoo.com/group/ntb-scripts/files/4_Alan.zip ... I am still not convinced. Perl is supposed to be cross platform. We are...
272
Alan C.
acummingsus
Dec 24, 2003 1:58 am
Hi Sheri, maybe we'll find out something yet . . . The next zip file has 4_Alan.clb inside the zip file with an added clip. ...
273
Sheri
silvermoonwo...
Dec 24, 2003 2:18 am
Well, guess what? Nbr 3 doesn't work here either! Haven't studied it yet, no obvious explanation, but if I discover something I'll let you know. Sheri...
274
Sheri
silvermoonwo...
Dec 24, 2003 2:38 am
Got it! Your version has a non-breaking space (character 160) in front of 5.006. I'm guessing that your Yahoo option is to display messages as HTML and somehow...
275
Alan C.
acummingsus
Dec 24, 2003 5:57 am
... Sure enough. It had a space appearing space but upon closer examination the dot wasn't there with the non-printing turned on. View source on a text file...