Re: Mapping a network drive from Perl

2001-06-20 Thread Alloun, Jonathan
Title: Re: Mapping a network drive from Perl Hello, I would like to be able to map a network drive from within Perl. The server I am mapping the drive from is a Red Hat Linux box where I am first trying to get 'Samba' working. Two questions: 1. Has anyone had

Re: Mapping a network drive from Perl

2001-06-20 Thread Kuhnibert
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

RE: Find Grep

2001-06-20 Thread erskine, michael
-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. It finds all

Re: Signal Handling on Win32

2001-06-20 Thread Grant Hopwood
-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 child

Re: Signal Handling on Win32

2001-06-20 Thread Grant Hopwood
-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 to clean

ISP Can't locate loadable object....

2001-06-20 Thread Lee Goddard
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

RE: Question about how Win32::Process works

2001-06-20 Thread Saxena, Saurabh
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 present

Re: ISP Can't locate loadable object....

2001-06-20 Thread Sisyphus
- 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. I've

RE: (no subject)

2001-06-20 Thread Lee Goddard
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

GUI

2001-06-20 Thread PLANCON Sylvain
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]

RE: OOP

2001-06-20 Thread Lee Goddard
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,

RE: ISP Can't locate loadable object....

2001-06-20 Thread Lee Goddard
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 need

Re: Question about how Win32::Process works

2001-06-20 Thread Sisyphus
- 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 the

RE: GUI

2001-06-20 Thread Peter Eisengrein
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 GUI. I

WIN ME, ActiveStaePerl and CGI

2001-06-20 Thread Russ Fineman
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

RE: Drop Down list

2001-06-20 Thread stanley . g . martin
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 OPTION VALUE='$row$row; } Stanley G. Martin Midwest Consulting Group Sprint Platform Strategy Mgmt 913.315.3133

RE: Drop Down list

2001-06-20 Thread Lee Goddard
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 have

Newbie question: Efficient code

2001-06-20 Thread Varun Seth
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.

RE: Newbie question: Efficient code

2001-06-20 Thread Cornish, Merrill
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

Re: Attn Win32::API Gurus Q Re Callback functions EnumWindows

2001-06-20 Thread SSGT Steven Swenson
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 it

Simultaneously accessing the same external program

2001-06-20 Thread Alex Lee
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

RE: Find Grep

2001-06-20 Thread Richard A. Evans
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 VEGETABLE ALIGMENT. Carl,