Re: How to create a user manual window

2012-06-12 Thread Shlomi Fish
Hi Michael, On Tue, 12 Jun 2012 16:00:34 -0700 Michael Putch wrote: > I hate when I do that. :(This email contains my actual comments (see > below). > > On Tue, Jun 12, 2012 at 9:50 AM, Bob McConnell wrote: > > > > From: Paul Johnson > > > > > > On Tue, Jun 12, 2012 at 07:11:57PM +0300

HTML::TextToHTML Doesn't Work with instring

2012-06-12 Thread Mike Flannigan
Anybody know why the script below does not work? I can get HTML::TextToHTML to work fine with the infile option, but not the instring option. My htmlout.htm end up with just these 2 lines: I expected it to have abcdefghijklm in it. More info on HTML::TextToHTML options is located here: http

Re: How to create a user manual window

2012-06-12 Thread Michael Putch
I hate when I do that. :(This email contains my actual comments (see below). On Tue, Jun 12, 2012 at 9:50 AM, Bob McConnell wrote: > > From: Paul Johnson > > > > On Tue, Jun 12, 2012 at 07:11:57PM +0300, Shlomi Fish wrote: > > > > > OK. For Windows there is now http://dwimperl.com/ which

Re: How to create a user manual window

2012-06-12 Thread Michael Putch
On Tue, Jun 12, 2012 at 9:50 AM, Bob McConnell wrote: > > From: Paul Johnson > > > > On Tue, Jun 12, 2012 at 07:11:57PM +0300, Shlomi Fish wrote: > > > > > OK. For Windows there is now http://dwimperl.com/ which is open-source > > and is > > > considered better than Activestate Perl. > > > > [cit

RE: How to create a user manual window

2012-06-12 Thread Bob McConnell
> From: Paul Johnson > > On Tue, Jun 12, 2012 at 07:11:57PM +0300, Shlomi Fish wrote: > > > OK. For Windows there is now http://dwimperl.com/ which is open-source > and is > > considered better than Activestate Perl. > > [citation needed] I don't know about DWIMPerl itself, but it claims to be

Re: How to create a user manual window

2012-06-12 Thread Paul Johnson
On Tue, Jun 12, 2012 at 07:11:57PM +0300, Shlomi Fish wrote: > OK. For Windows there is now http://dwimperl.com/ which is open-source and is > considered better than Activestate Perl. [citation needed] -- Paul Johnson - p...@pjcj.net http://www.pjcj.net -- To unsubscribe, e-mail: beginners-u

Re: How to create a user manual window

2012-06-12 Thread Shlomi Fish
Hi Tiffany, please submit your replies to the list, so other people will be able to help you there (as I request in the last line of my signature). I'm CCing my reply. On Tue, 12 Jun 2012 07:58:00 -0700 Yu-Shan Wang wrote: > Hi Shlomi, > > Sorry for missing information. I am using Perl/TK to b

Re: ERROR: Argument isn't numeric

2012-06-12 Thread Andy Bach
foreach $i (@dir) { my @title = split /\./, $dir[$i]; $i is your file name so split that not the @dir entry. You're sort of trying the same thing twice. foreach gets each array element, one at a time - you're split usage implies you're expecting the array's index (also the var. name $i so for

Re: How to create a user manual window

2012-06-12 Thread Shlomi Fish
Hello Tiffany, On Tue, 12 Jun 2012 01:05:54 -0700 Yu-Shan Wang wrote: > I am trying to create a “Help” document using Perl. I have a GUI and made > a dropdown menu with “Help” option. I am hoping to create a new window and > have a something like a dirtree so that user can select the topic. Onc

Re: how to only read the files last 13 lines

2012-06-12 Thread Shlomi Fish
Hi Lina, On Tue, 12 Jun 2012 14:08:45 +0800 lina wrote: > Hi, > > How to read the files last 13 lines, > > only process the data of the last 13 lines, ignore the head parts. > > Thanks with best regards, > in addition to what other people here said, please look at File::ReadBackwards: http

How to create a user manual window

2012-06-12 Thread Yu-Shan Wang
I am trying to create a “Help” document using Perl. I have a GUI and made a dropdown menu with “Help” option. I am hoping to create a new window and have a something like a dirtree so that user can select the topic. Once it is selected, the window will display the guidance. (Just like the Help bu

Re: how to only read the files last 13 lines

2012-06-12 Thread timothy adigun
Hi lina, On Tue, Jun 12, 2012 at 7:08 AM, lina wrote: > Hi, > > How to read the files last 13 lines, > > only process the data of the last 13 lines, ignore the head parts. > > Thanks with best regards, > > > you can also use Tie::File like so: use Tie::File; my $file=$ARGV[0]; tie my @f