(un-jeopardied)
Wagner-David wrote, on Friday, March 02, 2001 13:08
: steve silvers [mailto:[EMAIL PROTECTED]] wrote
: Say I search on (perl and oracle).
:
: if ($query-{Find} =~ /and/i) {
: Run my sql statement ie: perl and oracle
: }
:
: if ($query-{Find} =~ /or/i) {
: Run my
Does anyone know how to hook into the "A CD has been inserted" message?
I'm trying to find a way to emulate Autoplay, but NOT use auto play. We
don't users bringing in discs from home and having them install stuff, but
it would be nice if OUR apps on CD did launch automatically. Any thoughts?
"$Bill Luebkert" wrote:
Rodeo Red wrote:
Yes I have looked through that and it seems to completely skip over
setting up the files for a simple form that uses a perl script. I have
looked at numerous books and they tell you how to do perl once it is set
up- but theres very little on
Accessing the Hardware Address of the Network Interface Card will give you a
truly unique number for any make of machine, (12 digit hex), however the
method for extracting the address might be different depending on the
manufacturer of the Network Interface Card. If you were to get the machines
-start-
Jean-Paul Felix [EMAIL PROTECTED]
at03/02/2001 01:31 PM
I think one of the variables is referenced past any allocated values. I
have
to ignore lines that are not a four figure number. If there's a cleaner
way
to do this I'd be very grateful.
thanks all.
#!perl.exe -w
open
The warning you are getting results from the way that $count is incremented
inside of your while loops. You have 12 valid entries in in.txt, so:
$high = 11.
The last time that:
$num eq $sorted[$count]
will return true is when $count is 11. Consequently, $count is
I'm not actually printing $_ but doing some more parsing, I wanted to keep
the example short.
use Data::Dumper;
my %jobs;
while ( DATA ) {
/(\d\d\d\d)/ push @{$jobs{$1}}, $1;
}
print Dumper \%jobs;
__DATA__
|-
|JT# |
||
|1780|
|1776|
|1781|
|1778|
|1785|
|1787|
|1788|
$HKLM is a Registry2 definition as defined by Jenda's Patch/Enhancement of
Win32::Registry.
http://jenda.mccann.cz/perl/Registry2-0.00.26.zip
Steven
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 10:53 AM
To: [EMAIL PROTECTED]
"ponnambalam" == ponnambalam ma [EMAIL PROTECTED] writes:
DEAR FRIENDS,
PLEASE HELP ME REGARDING THE REGULAR EXPRESSION IN SPLIT FUNCTION
data is : CDM210909 or FDM210909 ( ie start with 3characters followed
any no of numeric numbers)
probelm is : i need to split this word into
I'm not sure if this has been done before (I mean in perk/tk) but this is my
stab at it. it's called doodle and you can download it at
http://wkleong.virtualave.net/doodle.zip
this is a binary distribution for windows. it is primarily for people
without perl or without the modules that I use.
2001-02-23 13:39 Uhr, hat Kaspars Vilkens geschrieben:
Installing Perl...
Thanks guys for help...!
I just installed Perl, but not in the way manual describes.
I just unarchived the package (Without running install.bat), did not
installed any additional drivers on my comp, just mapped
Ron,
I guess that you have a solution, in parts.
i.e. to check the address of the remote machine ntbuild1:
==
@buff = `rsh ntbuild1 ipconfig /all`;
foreach (@buff) {if (/.*Physical Address.*\: (.+)$/) {print $1;}}
==
Returns:
==
Try puting the common code into a file called common.pl. At the end of each
script include the following line:
require "common.pl";
Ben
At 08:59 AM 2/28/01 -0500, jpf wrote:
I have several scripts which all execute the same code at the end. I
would like to separate this common code into
Well, I am thinking that maybe the .pl file extension isn't set up properly
on your
Win98 box. So you can try:
exec({full path to perl.exe} {script name});
or
exec(perl.exe {script name});
The second is assuming that perl.exe is on your path. Another option would
be to eval
the code
You can use the FileSystemWatcher API's if you have appropriate permissions.
The easiest thing to do is obtain a Write lock on the file before you try
the backup. If you can obtain a write lock then someone else doesn't have
it
open (at least not for writing).
Justin Rogers
-Original
This suggestion will only work for getting MAC addresses on your own LAN.
If the IP address you want the MAC for is beyond a gateway, you would
communicate via TCP/IP and not via ARP. the Address Resolution Protocol is
only used to communicate directly from one NIC to another.
Ben
At 07:54 PM
- Original Message -
From: "Debbie Thomson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 01, 2001 2:39 PM
Subject: how to see if a file is in use
Hi, all-
I want to write a script to backup a file on a remote NT 4.0 server with
an NTFS file system. I don't want
Hi there.
I compiled 5.6.0 with these settings (among others):
USE_MULTI = define
USE_ITHREADS= define
USE_IMP_SYS = define
This should be enough to get support for the fork()
emulation. nmake test however skips some tests saying that I
_don't_ have fork(). Is it just baddly
Erich Ruff wrote:
hello list,
I created a DLL with VisualBasic 6.0 and want to access it with Perl.
In the documentation I found how to access the WinApi and Dlls created with
'C' and it is working on my W2K-machine.
Is it possible to access dlls created in Vb with Win32::API ??
19 matches
Mail list logo