Re: (was Re: win32 and win32::Lanman conflicting?)

2002-07-15 Thread Jason Hemak
Hey Jan (and anyone else with thoughts), So I did what you said. Completely uninstalled activeperl, removed the Perl tree, and then reinstalled activeperl (5.6.1 build 633) and lanman (1.0.9.2). I still get the mess at the end of this e-mail. My program consists of only this much code: #! per

Re: (was Re: win32 and win32::Lanman conflicting?)

2002-07-15 Thread Jan Dubois
On Mon, 15 Jul 2002 22:22:42 GMT, "Jason Hemak" <[EMAIL PROTECTED]> wrote: Hi Jason, >Well now i'm more confused about my original problem. > >If you need to use Win32 to use all of that functionality, how do you use >both Win32 and other packages like Win32::Lanman without getting all those >er

Re: (was Re: win32 and win32::Lanman conflicting?)

2002-07-15 Thread Jan Dubois
On Mon, 15 Jul 2002 13:21:48 +0100, "Michael D. Smith" <[EMAIL PROTECTED]> wrote: > >This brings up something I've been wondering about, but it worked so not to >much:) > >When you code, "use Win32::whatever;" does "use Win32;" become available also? No, it doesn't! Please read `perldoc Win32`

Re: ActiveState's Archive-Zip.zip doesn't (?!) support Windows

2002-07-15 Thread Jan Dubois
On Mon, 15 Jul 2002 11:46:51 -0400, "Thomas R Wyant_III" <[EMAIL PROTECTED]> wrote: >I believe from previous traffic on this list that ActiveState's PPM archive >is built "automagically" from CPAN. So who do I see to get this one module, >last built in 2000, corrected? I've told Neil about this

Re: Split function

2002-07-15 Thread Ron Grabowski
> Would it be only semantic to escape the semicolon, or could it cause a > problem not to do so? I'm not asking to be picky, I really don't know. :) The semi-colon is not special unless you do something like this: m;foo|bar|\;; ___ Perl-Win32-Users ma

Re: Passing a GUID to Win32::OLE

2002-07-15 Thread Jan Dubois
On Sun, 14 Jul 2002 15:56:07 +0100, [EMAIL PROTECTED] wrote: > >Anybody know a way to call a method which takes a REFCLSID, like this: > >HRESULT foo( REFCLSID bar ); > >The OLE browser shows this as > >Sub foo( bar as GUID ) >method foo; > >Unfortunately, Win32::GuidGen seems to return a GUI

DBI::XBase

2002-07-15 Thread Kevin
Hello, I am getting unreliable behavior from using DBI::XBase and am trying to get to the bottom of it. Besides the .dbf files, should any other files be in the directory that I am pointing to (such as .cdx, etc.)? Any pointers in working with XBase? The behavior I am getting is that the comput

Re: Split function

2002-07-15 Thread $Bill Luebkert
Mangesh Paranjape wrote: > Forwarded on behalf of Moshe: > > I would like to know if this is OK? > > @array = split(/(--|;)/,$var); > > I would like to split on either a double dash or a semi colon with one > split using ( | ). > > Is that viable, or do I have to test for either one, and spli

RE: Strange change in WinNT environment: File association to .PL now give error message

2002-07-15 Thread Fernando Madruga
> Fernando, > Thanks for the suggestion. Unfortunately, the associations and file typing are correct: Well, I'm out of sugestions here. Other than trying to "upgrade" your current version to the same one, that is, reinstalling ActivePerl, but that you probably already tried... Bye, Fernando

RE: FILEHANDLE Problem

2002-07-15 Thread Fernando Madruga
> This is going to drive me nuts I have my test snippet below > When I run this as shown below, I get the error: Invalid argument. > open(FILE, "d:\path_to\textfiles\test.txt") or die "Can't open $!"; You need to replace each \ with \\ as a single \ will be interpreted as an escape char

RE: Split function

2002-07-15 Thread Scot Robnett
Would it be only semantic to escape the semicolon, or could it cause a problem not to do so? I'm not asking to be picky, I really don't know. :) Scot R. inSite -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ron Grabowski Sent: Monday, July 15, 2002 1:

Re: Split function

2002-07-15 Thread Ron Grabowski
> I would like to split on either a double dash or a semi colon with one > split using ( | ). $_ = 'Hello-world;how--are--you;today'; print join "\n", split /--|;/; ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.Act

Split function

2002-07-15 Thread Mangesh Paranjape
Forwarded on behalf of Moshe: I would like to know if this is OK? @array = split(/(--|;)/,$var); I would like to split on either a double dash or a semi colon with one split using ( | ). Is that viable, or do I have to test for either one, and split accordingly. Thanks. A friend of Mangesh  

RE: FILEHANDLE Problem

2002-07-15 Thread henry isham
Try this... open(FILE, "d:\\path_to\\textfiles\\test.txt") or die "Can't open $!"; Or, open(FILE, 'd:\path_to\textfiles\test.txt') or die "Can't open $!"; -Henry -Original Message- From: steve silvers [mailto:[EMAIL PROTECTED]] Sent: Mon 7/15/

RE: FILEHANDLE Problem

2002-07-15 Thread Scot Robnett
Check the capitalization of your filehandle. You open the filehandle as FILE, then you try to find it with File. In the case of handles, case is important. You're doing this: open(File, "../textfiles/test.txt"); Try this instead: open(FILE, "../textfiles/test.txt"); HTH, Sco

RE: FILEHANDLE Problem

2002-07-15 Thread Morse, Richard E.
steve silvers [mailto:[EMAIL PROTECTED]] wrote: > open(FILE, "d:\path_to\textfiles\test.txt") or die "Can't open $!"; So, um, you do know that \t is a tab in double-quoted text? Try: open(my $file, "d:/path/to/your/test.txt") or die("Can't open: $!") or: open(my $file, "d:\\pat

FILEHANDLE Problem

2002-07-15 Thread steve silvers
This is going to drive me nuts I have my test snippet below #!/Perl When I run this as shown below, I get the error: Invalid argument. open(FILE, "d:\path_to\textfiles\test.txt") or die "Can't open $!"; if(eof(FILE)) { print "IM EMPTY"; } else {

ActiveState's Archive-Zip.zip doesn't (?!) support Windows

2002-07-15 Thread Thomas R Wyant_III
All - While investigating Randy Kobes' PPM::Make package, I discovered that the copy of Archive-Zip.zip http://www.activestate.com/PPMPackages/zips/6xx-builds-only/ supports only sun4-solaris-thread-multi and i686-linux-thread-multi. No Win32. If I use PPM to acquire the module directly (i.e.: P

RE: Strange change in WinNT environment: File association to .PL now give error message

2002-07-15 Thread Cutts III, James H.
Title: RE: Strange change in WinNT environment: File association to .PL now give error message Fernando,   Thanks for the suggestion.  Unfortunately, the associations and file typing are correct: D:\Projects\Perl>ASSOC .PL.PL=Perl   D:\Projects\Perl>FTYPE PERLPERL="D:\BIN\Perl\bin\perl.

RE: win32 and win32::Lanman conflicting?

2002-07-15 Thread Hill, David K
Jason, How did you come about the Win32::Lanman Module? This does not appear to be standardized module... -David David K Hill Enterprise Internal Issue Management Solutions Sr Systems Engineer eBG Intel Corporation -Original Message- From: Jason Hemak [mailto:[EMAIL PROTECTED]]