>> If I had a complex ANDed expression, I'd just hard code it in the
>> subroutine.
>>
>> For something simple, such as the word TABLE followed somewhere by the
word
>> ALIGN, you could use:
>>
>> my $stringToFind = 'TABLE.+ALIGN';
>>
>>
>> Regards,
>>
>> Rick
>Sure, if you wanted to match VEGE
HI all,
I have a question about running an external program
simultaneously.
The problem is that I want to access a program foo.pl
as an external program, but this program returns a
value only after every 1-5 minutes therefore, I want
to perhaps access it twice but simultaneously, so that
I don'
According to WinAPI Docs
You could do the following:
$count_windows = new Win32::API("User32.lib","EnumWindows",[P,P],I);
$pCallback = sub callback;
$myparam;
$count= $count_windows->Call($pCallback, $myparam);
I'm not sure how the user-defined value is used ... I suppose you have to
define
Varun,
I probably doesn't matter. I don't know about lsnrctl, but I do know that
sqlplus is a non-trivial program what is going to take a long time to
run compared to the system() call in Perl. So, there's no need to worry
about which one is faster--you'll never be able to see the differenc
Hello,
I am new to Perl and am converting a batch file written to do a bunch of
things with Oracle to Perl.
The way I am converting it to Perl is to make bunch of system calls and
wondering if I can make it more efficient 'cause each call to system would
be expensive in terms of resources etc. He
> Hello group,
> I have really tried to to populate a dropdown list with values from a database. In
>the past I've worked around this
> problem and it's not been an issue. But now, the time has come to s%$t or get off
>the pot.
>
> Has anyone a little advice on this procedure?
>
> Let's say I
Hello Mark,
That should be pretty simple, actually I do it, and probably have a code
sample somewhere here...
Evidently you are doing a cgi, so I would at the beginning of the cgi call
for a connect to your db.
Then start your HTML, then make your select on the page.
print qq{};
now get your quer
If you've done all the up front work with DBI and done your query, you just need to
get the results into your list like this:
while ($row = $sth->fetchrow_array) {
print "fetchrow_array()) {
$value1 = $data[0];
$value2 = $data[1];
}
What would be the best way to create something
David,
You might check this link: http://dynamicnet.net/support/fp/perlwithPWS.htm
It covers Microsoft Personal Web Server with perl. I had to adjust the
paths in the registry, but otherwise it worked fine. Since the Registry
mods are so easy, it's simple to test.
Regards,
Rick Evans
I'm new at Perl and cgi. I am using Microsoft PWs
to debug and test scripts prior to moving to UNIX host after necessary changes.
I have not been able to get the cgi programs to run. It appears that I do not
have a file association for open the cgi. I do associate .pl to perl.exe. What
The samples that (hopefully) came with your Win32::GUI show how to do each
of these
> -Original Message-
> From: PLANCON Sylvain [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: GUI
>
>
> Hi,
>
> Anyone can help me to make a G
Title: Network Blitz
HTML mail ==> *yuck*
Did you download and install the LDAP.pm
module on your computer?
Can't locate Net/LDAP.pm in @INC
(@INC contains: C:/Perl/lib C:/Perl/site/lib .) at PerlLDAPquery.plx
line 4.BEGIN failed--compilation aborted at Pe
- Original Message -
From: "Saxena, Saurabh" <[EMAIL PROTECTED]>
To: "'Sisyphus'" <[EMAIL PROTECTED]>; "Satish Vadlamani"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 11:29 PM
Subject: RE: Question about how Win32::Process works
> Hi
> Is it possible to use th
> I think it's telling you that it can't find 'Parser.dll' which it will be
> looking for beneath the @INC directories in the 'auto/html/parser/' sub
> directory.
Yup, that it is.
> I notice that the '.lib' and '.exp' files are always installed in perl along
> with the '.dll' so you probably nee
That'll teach me. I missed your code at the end,
and I didn't change the subject.
> #!/usr/bin/perl
Above is not needed in Win. Maybe on Apache, though.
> my $book1 = book->new(); # instantiating a default book object.
Best to give your packages intial capitals, for clarity.
Also, do
Hi,
Anyone can help me to make a GUI.
I don't know how to make a ListView, ComboBox and others object.
I just arrive to print some labels in a grid.
cheer
Sylvain
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mai
Well...printing it won't help much, but send us
your code and maybe we can help. In the meantime:
# In file named Book.pm
package Book;
our $VERSION=0.01;
sub new {
my $class = shift;
my $self = {}; # Or other data struct
bless $self, $class;
}
sub display { my $self = shift;
print "Th
- Original Message -
From: "Lee Goddard" <[EMAIL PROTECTED]>
To: "Perl Users" <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 11:30 PM
Subject: ISP Can't locate loadable object
> I'm working on an ISP who won't upgrade Perl to the current
> version, and I need the current version
Hi
Is it possible to use the Win32::Process ::Create function without giving
the full path of the exe("C:\\perl\\bin\\Perl5.6.0.exe") like
Win32::Process::Create($run_primary, 'C:\\perl\\bin\\Perl5.6.0.exe',
"perl run_primary_aa.pl", 0,CREATE_NEW_CONSOLE, ".");
Since the exe path is already pre
I'm working on an ISP who won't upgrade Perl to the current
version, and I need the current version.
I've got use lib, and put the PM file of HTML::TokeParser
in the right place, but I'm being told that perl can't
locate a loadable object form HTML::Parser.
Is this anything to do with HTML::Pa
-start-
> "Sisyphus" <[EMAIL PROTECTED]>
>at06/19/2001 09:34 PM
>Is harvesting of dead children an issue with Windows, or does Windows
take
>care of it ? I have an (unsatisfactory) forking server - but it does at
>least create children servers that do their job and die. I take no
measure
-start-
> "Lucier, Brian (A.)" <[EMAIL PROTECTED]>
>at06/19/2001 04:47 PM
>I have been porting a script from Unix that uses signal handlers, but
have been unable to find suitable code to replace the signal handling on
the Win32 platform. I am using the signal handling to identify when ch
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Richard A. Evans
> > Sent: Thursday, June 14, 2001 6:49 PM
> > To: Sidwell, Josh; '[EMAIL PROTECTED]'
> > Subject: RE: Find && Grep
> >
> >
> > I believe this snippet of code does what you ask
Title: Re: Mapping a network drive from Perl
1. Has anyone had success in mapping a 'public' drive on Windows
using 'Samba'; if so could you explain how you did it??
### yup! cannot remeber the whole server setup procedures on the linux side
(smb.cnf), but i'm sure you'll find all you
24 matches
Mail list logo