Re: msvc++ and environment variables

2002-10-13 Thread John
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

Dump and Restore of permissions by Win32::Perms problem

2002-10-13 Thread shonorio
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 !!!

working with array references.

2002-10-13 Thread Torbjørn Lindahl
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. *)

Re: working with array references.

2002-10-13 Thread Tim . Moose
This will do it push @{$hash{$key}}, $item; Tim ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Check a perl reference type

2002-10-13 Thread Tim . Moose
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 ___

Re: working with array references.

2002-10-13 Thread $Bill Luebkert
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

Re: Perl script behaves differently on separate computers

2002-10-13 Thread shurst
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

Connecting to MySql DB

2002-10-13 Thread kaleb murphy
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?

Re: Win32::AdminMisc problems

2002-10-13 Thread Sisyphus
- 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.

Re: Extracting data from a scalar

2002-10-13 Thread $Bill Luebkert
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

RE: executing plx -- seems to be a common problem

2002-10-13 Thread Wagner, David --- Senior Programmer Analyst --- WGO
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