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
$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
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
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
=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
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->
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
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
$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
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+"$@"}
[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
[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
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 [
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
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=>
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
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
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
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] [-
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
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
- 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
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
> 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
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 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
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
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
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";
}
}
}
--- [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
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
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
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
33 matches
Mail list logo