Rob
This has no doubt been resolved by now - but for future reference:
set from the command prompt will show all environment variables.
set VAR will show the specific variable VAR.
eg. set path produces same as path command.
or to get a better look at separated lists like path, construct a one
Hi all,
I'm trying to use the Dave Roth script to backp (DumpPerms.pl) and restore
(MakePerms.pl) permission, but on my test these scripts didn't work well
to restore file and directory permission. When I restore the permissions
saved on file, all Read and Execute permissions are missed !!!
Hi list,
given an array reference in a hash, how can I append an item to the end of
that array? Or find the length so that I can assign it using $ref-[$n]
type notation?
I have tried various comboes...
$hash{$key} holds a reference to an array in the sample code presented.
*)
This will do it
push @{$hash{$key}}, $item;
Tim
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Use ref(). For example, the following
print ref bless {}; # object reference (in package main)
print \m, ref []; # array reference
print \n, ref {}; # hash reference
results in
main
ARRAY
HASH
Tim
___
Torbjørn Lindahl wrote:
Hi list,
given an array reference in a hash, how can I append an item to the end of
that array? Or find the length so that I can assign it using $ref-[$n]
type notation?
I have tried various comboes...
$hash{$key} holds a reference to an array in the sample
Is everyone running the script from cmd.exe, or are some of them using
command.com?
Steve
[EMAIL PROTECTED] wrote on 10/10/2002
03:56:50 PM:
I have this Perl script that I want to be useful for everyone in my
department. We are all running Windows 2000 and using the same install of
Hello, I'm trying to connect to a MySql DB using
ActiveState's Perl. I seem to have all the correct
drivers installed. MySql is up and running just fine.
But this line
$db = new
Win32::ODBC(dsn=RAGS;UID=root;PWD=password);
gives me an Access Denied for user root.
Anyone have a clue?
- Original Message -
From: Krishna, Hari [EMAIL PROTECTED]
To: 'Sisyphus' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, October 11, 2002 11:58 PM
Subject: RE: Win32::AdminMisc problems
AdminMisc.pm is located in D:/perl/site/lib/win32/.
Then I have no idea why it can't be found.
Gary Nielson wrote:
I am downloading a Web page to grab the profile of a company. The profile
is several sentences, maybe 200 words, surrounded by TDP and
P/TD.
I am struggling to find that string of words inside a scalar variable
and then extract it. Any advice?
# use lynx to
Know that it is for pm/pl, but would have to ask someone from AS if
plx is the std. I don't know.
Wags ;)
-Original Message-
From: Josh Zeckser [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 20:48
To: [EMAIL PROTECTED]
Subject: RE: executing plx -- seems to be a
11 matches
Mail list logo