Hi;
I want to run a script in a continuous loop so that each time it runs it
will modify a registry key and get the data against the new key.
Basically, I need to use "reg.exe UPDATE" command from inside a perl
script. Is it possible?
I have seen some examples on the web but they are too compli
_servers)
{
system ("reg add HKLM\\SOFTWARE\\Atria\\ClearCase\\CurrentVersion \/f
\/v LicenseHost \/t REG_SZ \/d \"$lic_serv\"");
system ("get_clearlicense.pl license.txt $lic_serv");
}
David Nazary
-Original Message-
From: Chris Devers [mailto:[E
Hi everyone;
One of our tools provides following output:
< cut
LICENSES:
Max-Users Expires Password [status]
62 none 3abbc829.67e2685f.02 [Valid]
Maximum active users allowed: 62
Current active users: 17
ACTIVE users:
Us
I had to download and intsall Inline-Files-0.62 module and when I run
the below script you suggested I get:
Can't locate Filter/Util/Call.pm in @INC (@INC contains: C:/Perl/lib
C:/Perl/site/lib .) at C:/Perl/lib/Inline/Files.pm line 6.
BEGIN failed--compilation aborted at C:/Perl/lib/Inline/Files.
Hi,
I am trying to use grep in a simple perl script to find all the lines in a
list (@labels) that contain certain names in a list (@names). The problem is
that grep finds all the lines in @labels for every name in the @names. here
is the script:
open(NAMES, "names");
open(LABELS,
instead of $_ I used $name but nothing was found by grep. What do you mean
by another variable?
-Original Message-
From: Nikola Janceski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 9:40 AM
To: 'Nazary, David'; '[EMAIL PROTECTED]'
Subject: RE: unexpect
I will not have any regep in the $names. It contains the name of users that
have created label type in ClearCase.
Thanks for your help
David
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 10:39 AM
To: 'Nazary, David'; '[
Hi,
In the following web page how can I make "foo" to become an argument to
"cgi-bin\script.pl" script when I click on "foo"?
foo
Currently the script takes "" as an argument when I click on "foo". Any
suggestion are appreciated.
Thanks
David Nazary
--
To unsubscribe, e-mail: [EMAIL PROT
may very well be the solution but now
I have to install the package "new" as I got some error to that effect.
Thanks again.
David
-Original Message-
From: Jim Lundeen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 01, 2002 8:44 PM
To: Nazary, David
Subject: Re: How to make a
-invob","$VOB");
Regards
David Nazary
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 01, 2002 8:46 PM
To: Nazary, David
Subject: Re: How to make a hyperlink an argument for a CGI script
Don't end with .pl but put a link that includ
Hi,
I am trying to install Time::HiRes module and I am getting the following error:
C:\>ppm
PPM interactive shell (2.1.6) - type 'help' for available commands.
PPM> install Time-HiRes
Install package 'Time-HiRes?' (y/N): y
Installing package 'Time-HiRes'...
Error installing package 'Time-HiRes':
Thanks a lot William. I finally had to do the download and run ppm install
Time-HiRes.ppd to make it work as you suggested.
David
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 10:59 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subjec
Hi,
I am unable to insert data into MySql with following script:
#!/usr/bin/perl
use DBI;
use Mysql;
$infile = "/cadfs8/sys/dnazary/mysql_test_data1";
$dbh = DBI ->connect('DBI:mysql:dnazary_test:localhost', 'root', 'mysql');
open (IFH, $infile) or die ("Could not open input file.");
foreach ()
Subject: Re: Inserting data into MySql using perl script
Hi,
On Mon, Jun 09, 2003 at 04:49:41PM -0700, Nazary, David wrote:
>
> I am unable to insert data into MySql with following script:
>
> #!/usr/bin/perl
> use DBI;
> use Mysql;
Not needed, you may comment it out.
>
y, June 10, 2003 9:44 AM
To: Nazary, David; [EMAIL PROTECTED]
Cc: Nazary, David
Subject: Re: Inserting data into MySql using perl script
On Monday June 9 2003 3:49 pm, Nazary, David wrote:
> Hi,
>
> I am unable to insert data into MySql with following script:
>
> #!/usr/bin/pe
Hi,
When I use the following script to send mail:
#!perl -w
### script name "smtp_mailer2.pl"
use Net::SMTP;
$smtp = Net::SMTP->new('mailhost');
$smtp->mail($ENV{USER});
$smtp->to('dnazary');
$smtp->data();
$smtp->datasend("To: dnazary\n");
$smtp->datasend("\n");
$smtp->datasend("A simple tes
16 matches
Mail list logo