Re: perldoc

2005-12-18 Thread Eric Amick
On Sun, 18 Dec 2005 12:05:07 -0800, you wrote: >At 09:03 PM 12/15/2005 -0800, Suresh Govindachar wrote: >> >> 1) What does the following line do? >> >> >> >> eval 'exec C:\opt\perl\bin\perl.exe -S $0 ${1+"$@"}' >> >> if 0; > >In perl it does nothing. Under bash it executes per

Re: Even after runtime eval with no __DIE__, can't avoid dying inside perldoc

2005-12-18 Thread $Bill Luebkert
$Bill Luebkert wrote: > (my $prog = $0) =~ s/^.*[\\\/]//; > my $usage = < > Usage: $prog [-d] [-a] [-f] [-q] [-s] [] > > -d debug (-d=2 for perldoc debug) > -a if present perform the following logic, else call perldoc > with an

Re: Even after runtime eval with no __DIE__, can't avoid dying inside perldoc

2005-12-18 Thread $Bill Luebkert
Suresh Govindachar wrote: > =head > > Hello, > > I have been trying to not die when calling perldoc, > but the code below keeps dying inside perldoc. > > The code below does show that eval is happening > at runtime, and that the syntax used for shutting

Re: Even after runtime eval with no __DIE__, can't avoid dying inside perldoc

2005-12-18 Thread Veli-Pekka Tätilä
Suresh Govindachar wrote: I have been trying to not die when calling perldoc, but the code below keeps dying inside perldoc. The code below does show that eval is happening at runtime, and that the syntax used for shutting off __DIE__ does work when perldoc is not involved. Hi, First off

Even after runtime eval with no __DIE__, can't avoid dying inside perldoc

2005-12-17 Thread Suresh Govindachar
=head Hello, I have been trying to not die when calling perldoc, but the code below keeps dying inside perldoc. The code below does show that eval is happening at runtime, and that the syntax used for shutting off __DIE__ does work when perldoc is not involved. So how can

RE: perldoc

2005-12-17 Thread Chris Wagner
r level of the last exiting process. "No error". Keep in mind that normally this line will *never* be executed. Personally I think it's just left over development code that nobody deleted. > >> use Pod::Perldoc; > >> exit( Pod::Perldoc->

Re: perldoc

2005-12-15 Thread $Bill Luebkert
Suresh Govindachar wrote: > >> 1) What does the following line do? > >> > >> eval 'exec C:\opt\perl\bin\perl.exe -S $0 ${1+"$@"}' > >> if 0; > > > > That's just running perl against the bat file. > > But doesn't the if 0 condition mean that nothing happens? > (Th

Re: perldoc

2005-12-15 Thread $Bill Luebkert
Suresh Govindachar wrote: > Hello, > > Wanting to capture the output of perldoc with a perl variable, > I looked at perldoc.bat. What perldoc.bat does is run the > following script with the arguments given to perldoc: > 1) What does the following line do? > &g

RE: perldoc

2005-12-15 Thread Suresh Govindachar
$Bill Luebkert Sent on December 15, 2005 8:29 PM -0800 >Suresh Govindachar wrote: > >> Wanting to capture the output of perldoc with a perl variable, >> I looked at perldoc.bat. What perldoc.bat does is run the >> following script with the ar

perldoc

2005-12-15 Thread Suresh Govindachar
Hello, Wanting to capture the output of perldoc with a perl variable, I looked at perldoc.bat. What perldoc.bat does is run the following script with the arguments given to perldoc: #!perl #line 15 eval 'exec C:\opt\perl\bin\perl.exe -S $0 ${1+"$@"}&#x

Re: perldoc question

2005-09-28 Thread Reinhard Pagitsch
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi All! I Have 2 perl scripts first script calls Win32::Process::Create and exits in second script I want to kill process created in first script But how I can pass $procobj to second script to kill it like <$procobj->Kill($exi

perldoc question

2005-09-28 Thread assistent
[EMAIL PROTECTED] wrote: > Hi All! > I Have 2 perl scripts > first script calls Win32::Process::Create > and exits > in second script I want to kill > process created in first script > But how I can pass $procobj to second > script to kill it like <$procobj->Kill($exi)> > Or how can I in first s

Re: perldoc with multiple tries

2005-03-14 Thread $Bill Luebkert
Suresh Govindachar wrote: > Hello, > > What's a good way to put a wrapper on perldoc so that > a call such as "perldoc -k [options] arg" acts as follows: > > if "perldoc [options] arg" succeeds, returns it; >else if "perldoc [

perldoc with multiple tries

2005-03-14 Thread Suresh Govindachar
Hello, What's a good way to put a wrapper on perldoc so that a call such as "perldoc -k [options] arg" acts as follows: if "perldoc [options] arg" succeeds, returns it; else if "perldoc [options] -f arg" succeeds, returns it; else if "perldo

RE:RE:Tk::Table custom keys scroll question >-----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of [EMAIL PROTECTED] >> Sent: November 21, 2004 10:28 PM >> To: perl-win32-users@listserv.ActiveState.com >> Subject: RE:RE:Tk::Table cusom keys scrolll question >> _________ >> thanks ! >> may be you suggest >> how I can pack my widgets to >> get matrix of predefined number rows and cols ? >> thank in advance ! What are you actually trying to do? I may have given you some poor advice. Usually when someone wants to grid a bunch of Entry widgets - I start thinking "spreadsheet". If that is indeed your purpose then don't heed my previous advice. Instead use Tk::TableMatrix !! ##################### use Tk::TableMatrix; use Tk; my $var = {}; foreach my $row (0..50){ foreach my $col (0..20){ $var->{"$row,$col"} = "Row$row Col$col"; } } my $mw=tkinit; my $tm = $mw->Scrolled('TableMatrix', -scrollbars=>'se', -bg=>'white', -rows=>51, -cols=>21, -variable=>\$var)->pack(-expand=>1, -fill=>'both'); MainLoop; __END__ perldoc Tk::TableMatrix ##################### If you still wish to just use a bunch of entries for whatever your purpose - then here is a simple example of 'grid'ding some entry widgets: ##################### use Tk; use Tk::Pane; use strict; my @entry; my $mw=tkinit; my $pane = $mw->Scrolled('Pane')->pack(-expand=>1, -fill=>'both'); foreach my $row (0..50) { foreach my $col (0..20) { $entry[$row][$col] = $pane->Entry( -text=>"Row $row Col $col") ->grid(-row=>$row, -column=>$col); } } MainLoop; __END__ perldoc Tk::grid ##################### There are other table-like widgets but TableMatrix is the most powerful and most efficient. It all depends on your purpose. Jack <<<<<<<<<<<< thank you ! My purpose is : I am looking for a possibility of migrating of some my old vb database applications to perl. 1)In vb there is Visual Data Manager (visdata app) Is there some analog of it in perl ? 2)I would like example of analog of databound DataGrid control /in perl/ for browsing tables 3)And I have some Clipper5 apps which extensively use custom browsing : key in last row appends a new row with some cells having values predicted from few above cells. How To achieve this in perl Tk?

2004-11-22 Thread assistent
ach my $col (0..20){ $var->{"$row,$col"} = "Row$row Col$col"; } } my $mw=tkinit; my $tm = $mw->Scrolled('TableMatrix', -scrollbars=>'se', -bg=>'white', -rows=>51, -cols=>21, -variable=>\$var)->pack(-expand=>

Re: Perldoc problem was Re: regular expression on military time

2003-07-27 Thread John
On Monday, July 28, 2003 1:32 AM AEST, Gerry Green wrote: > Just a quick note: > > - Original Message - > From: "John" <[EMAIL PROTECTED]> > To: "Ted S." <[EMAIL PROTECTED]> > Cc: "Perl-Win32-Users" <[EMAIL PROTECTED]> &g

Re: Perldoc problem was Re: regular expression on military time

2003-07-27 Thread Ted S.
On 27 Jul 2003, Gerry Green wrote in perl: > Just a quick note: > > - Original Message - > From: "John" <[EMAIL PROTECTED]> > To: "Ted S." <[EMAIL PROTECTED]> > Cc: "Perl-Win32-Users" <[EMAIL PROTECTED]> > Sent: Sun

Re: Perldoc problem was Re: regular expression on military time

2003-07-27 Thread Gerry Green
Just a quick note: - Original Message - From: "John" <[EMAIL PROTECTED]> To: "Ted S." <[EMAIL PROTECTED]> Cc: "Perl-Win32-Users" <[EMAIL PROTECTED]> Sent: Sunday, July 27, 2003 3:07 AM Subject: Perldoc problem was Re: regular expression on

Perldoc problem was Re: regular expression on military time

2003-07-27 Thread John
de your Perl directory, to run scripts from the CLI console you would have to run them from the 'c:\perl\bin' directory. Ahh! I think I see the problem. Your previous postings: > > C:\Perl>perldoc > Usage: perldoc.bat [-h] [-r] [-i] [-v] [-t] [-u] [-m] [-n program] [-l] [-

RE: Perldoc in Windows produces odd output

2003-02-24 Thread Burak Gürsoy
well... it looks like the only solution is to install the new perldoc: http://search.cpan.org/author/SBURKE/Pod-Perldoc/ It solved my problem. this was also discussed in pod-people > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of

Perldoc in Windows produces odd output

2003-02-24 Thread Franz, Roger
When I run perldoc in windows ME, the output is offset; it's as if the program is not sending linefeeds/carriage returns in the proper places. I've seen this reported here before: http://aspn.activestate.com/ASPN/Mail/Message/1510037 and http://aspn.activestate.com

Re: perldoc fickleness

2002-09-17 Thread Sisyphus
- Original Message - From: "$Bill Luebkert" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 1:45 PM Subject: Re: perldoc fickleness > Sisyphus wrote: > > > > It

Re: perldoc fickleness

2002-09-17 Thread $Bill Luebkert
Sisyphus wrote: > > It finally all made sense - when I grasped the basics of what's happening. > > When I run 'perldoc' it comes up one page at a time with 'more' - and once > I've got to the bit I > want to read, I then kill it with Ctrl-C

Re: perldoc fickleness

2002-09-17 Thread Sisyphus
> Jim Keenan It finally all made sense - when I grasped the basics of what's happening. When I run 'perldoc' it comes up one page at a time with 'more' - and once I've got to the bit I want to read, I then kill it with Ctrl-C. When I do that the temporary file is n

Re: perldoc fickleness

2002-09-17 Thread James E Keenan
On Tue, 17 Sep 2002 13:56:23 +1000, "Sisyphus" <[EMAIL PROTECTED]> wrote with regard to: Re: perldoc fickleness: > > And now that I've read the sysopen documentation, I've decided it's cleaner > to remove the O_EXCL than it is to unlink. Works fine, a

perldoc

2002-07-24 Thread Randy W. Sims
perldoc under Win32 currently defaults to -t (display as text) with no way to override. There is a version of GNU groff available for Win32 <http://gnuwin32.sf.net> that would allow viewing as formatted text pages, which is much easier to read. I made a few minor changes to perldoc to

Re: perldoc in tk window?

2002-05-16 Thread Bob Davis
It looks like tkpod does what I want. Use ppm and install tk-pod Bob Davis wrote: > Is there a command to have perldoc command display in a text window? > An option off of "perldoc -tk". > > bob > > ___ > Perl-Wi

perldoc in tk window?

2002-05-16 Thread Bob Davis
Is there a command to have perldoc command display in a text window? An option off of "perldoc -tk". bob ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: perldoc

2002-05-07 Thread Iacoboni, Vince
quot;--htmlroot=$outfile_path_root", "--libpods=perlfunc:perlguts:perlvar:perlrun:perlop", ); print "-- Created $outfile_path_root/$path/$name.html\n"; print LOGFILE "-- Created $outfile_path_root/$path/$name.html\n"; } } }

Re: perldoc

2002-05-07 Thread Jim Angstadt
--- [EMAIL PROTECTED] wrote: > Hi, > > Someone recently mentioned that their local HTML > perldocs was automagically regenerated after they > downloaded and installed new modules. Well, mine > never is. I don't care whether it's automagical or > not but is there a way of doing it? I suppose it's

perldoc

2002-05-07 Thread Jamie . Echlin
Hi, Someone recently mentioned that their local HTML perldocs was automagically regenerated after they downloaded and installed new modules. Well, mine never is. I don't care whether it's automagical or not but is there a way of doing it? I suppose it's pod2html, but not sure what all the opti

RE: Is there a way of getting the perldoc output to a file?

2001-11-27 Thread Kirk W. Batzer
perldoc -f pack >pack.txt 2>&1 Kirk W. Batzer [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Edrich Sent: Tuesday, November 27, 2001 3:32 AM To: [EMAIL PROTECTED] Subject: Is there a way of getting the perldoc output

what perldoc pager do you use?

2000-12-04 Thread Robert Davis
Hi When I use perldoc it uses the pager "more". The problem with more is that it doesnt go backward or a half-page or a single line. Is there a better pager for win32? I have tried less from the unix utils for win32 and it crashed or something usable. I think I remember you can chg