Bad path ?

2001-03-01 Thread Rodeo Red
here is what I get when I use the set command to check the path: C:\Perl\eg>set TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM DJGPP=C:\DJGPP\DJGPP.ENV PATH=C:\DJGPP\BIN;C:\PROGRA~1\ULTRAEDT;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1 \ULTRA

RE: regular expression please - help

2001-03-01 Thread Doughty, Matt
not elegant but this should work: $res[0] = substr($data, 0, 3); $res[1] = substr($data, 3); Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 13$B!I(JN3??1$B!H(Ju 16:57 To: [EMAIL PROTECTED] Cc: Perl-Win32-Users; Perl Beginner Group; [EMAIL PROTECTED]

Where's the faq ?

2001-03-01 Thread Rodeo Red
I'm trying to read the Active state FAQ file:///C%7C/Perl/html/index.html says Contents of this FAQ ActivePerl-faq: Overview of the ActivePerl FAQ (this document) ActivePerl-faq2: Perl Package Manager (PPM) So where is the ActivePerl FAQ ? The first part is an intro and the second is a

Re: Where's the faq ?

2001-03-01 Thread $Bill Luebkert
Rodeo Red wrote: > > I'm trying to read the Active state FAQ > > file:///C%7C/Perl/html/index.html says > Contents of this FAQ > > ActivePerl-faq: Overview of the ActivePerl FAQ (this document) > ActivePerl-faq2: Perl Package Manager (PPM) > > So where is the ActivePerl FAQ ? The first

RE: Perl and ASP

2001-03-01 Thread Joseph P. Discenza
John.F.Kennedy wrote, on Wednesday, February 28, 2001 16:26 : Thanks . but is there somewhere with a little more information. : > All this is new for me, can someone give me a good web : > site for Perl and : > ASP with examples . Also what modules do I need . I'm sending you to Matthew: http

Re: Bad path ?

2001-03-01 Thread Philip Newton
Rodeo Red wrote: > -Ursprüngliche Nachricht- > Von: Rodeo Red [mailto:[EMAIL PROTECTED]] > Gesendet am: Donnerstag, 1. März 2001 09:31 > An: [EMAIL PROTECTED] > Betreff: Bad path ? > > here is what I get when I use the set command to check the path: > C:\Perl\eg>set > TMP=C:\WINDOWS\TEMP

RE: I need Faster way than s/bla/bla/i to remove string. Does tha t exist?

2001-03-01 Thread SCOTT_SISSON
if you are building for speed avoid $&, $' and $` as they make copies of the variable being manipulated (see Freidl's Mastering Regular Expressions ppgs. 273-278 and 281-282). "you could try changing your substitute to a match and either using parens with $1 $2 and so on or you could use $& wit

Serial Number

2001-03-01 Thread daryll . elston
Can anybody point me in the direction of a module or function that will allow me to grab the serial number from either a Laptop or PC? Thanks Daryll The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or add

Re: Serial Number

2001-03-01 Thread Mark G. Franz
Sorry, but as far as I know, and I have been doing this a long time, the serial number of a computer is not stored in and BIOS or memory location. If you mean IP address then thats different... Mark -Original Message- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EM

Re: Serial Number

2001-03-01 Thread daryll . elston
No I definitely need the Serial Number, it is for audit purposes, not to worry I will have to re-think. Thanks Anyway. Daryll |+---> || | || | || [EMAIL PROTECTED] | || 01 Mar 20

Re: How to append files in Archive::Zip?

2001-03-01 Thread RICHARD A. NAKROSHIS (Contractor)
Rather than sling all that text around the Internet, how about just providing a URL for the file? Better yet, how about emailing the author directly? I've found that he responds very quickly to questions. Rick "Jimmy S. Lim" wrote: > > hi perl folks, > how do i append a file into an exisiting

Re: Where's the faq ?

2001-03-01 Thread Ron Grabowski
> I'm trying to read the Active state FAQ http://www.activestate.com/Support/ActivePerl/index.html ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Re: regular expression please - help

2001-03-01 Thread Ron Grabowski
> not elegant but this should work: > $res[0] = substr($data, 0, 3); > $res[1] = substr($data, 3); substr() is zero based so to get the third character to the end of the line you'll have to start at position 2: $res[1] = substr($data, 2); ___ Perl-Wi

Re: REGULAR EXPRESSION IN SPLIT FUNCTION - PLEASE HELP ME.

2001-03-01 Thread Ron Grabowski
From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> [ Grrr, just post to one list! ] > ($a,$b) = $x =~ /(.{3})(.*)/; Shouldn't you be pushing that stuff into an arra

Re: I need Faster way than s/bla/bla/i to remove string. Does tha t exist?

2001-03-01 Thread Ron Grabowski
[ I don't have the original posters email at this terminal ] > if you are building for speed avoid $&, $' and $` as they make copies of If you really really needed it to be fast you might look into writting it in C using PCRE ( Perl Compatible Regular Expression ). http://www.google.com/search

Re: modifying windows "*.lnk" shortcut files from perl (even under unix) ?

2001-03-01 Thread Ron Grabowski
> I know there is a win32-shortcut module. But I can't "use > Win32::Shortcut" from the linux based perl it doesn't want to load > under linux perl. Has anybody worked out how it might be used > on a linux server to modify windows 9x style shortcut files using > the windows version of perl? If yo

running another script under win98

2001-03-01 Thread Jean-Paul Felix
I have several scripts which all execute the same code at the end. I would like to separate this common code into another file and have it executed by each script just before it finishes (no return). I've looked at libraries, packages, modules and it all seems over complicated for what I require

Re: running another script under win98

2001-03-01 Thread Ron Grabowski
> complicated for what I require as no variables are passed just a file read require 'common_code.pl'; where common_code.pl might look like: open FOO, 'foo.txt' or die "foo: $!"; # stuff close FOO; 1; # remember this ___ Perl-Win32-Users mailing

RE: running another script under win98

2001-03-01 Thread Ember Normand
I believe you need to run perl with the perl script to get it to run. I currently have a script that runs another script with the following line: exec "perl myscript.pl $n"; This works fine for me on Windows2000. $n is just the variable I'm passing in to myscript.pl. The perl.exe is in

Printing work days of the week

2001-03-01 Thread Conrad, Ben
Hello, I've been trying to get a script together that will print only the work days of the week (M-F) for a given year. I need to do this so I can apply the tower of Hanoi priciple for my backups. I've been looking at Date::Manip but I don't realy see a way to get M-F for each month. Any sugge

FW: Printing work days of the week

2001-03-01 Thread Moulder, Glen
Hi Ben, I use Date::Calc for this sort of work. Glen > -Original Message- > From: Conrad, Ben [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 01, 2001 2:16 PM > To: Perl-Win32-Users (E-mail) > Subject: Printing work days of the week > > > Hello, > > I've been trying to get a sc

RE: Printing work days of the week

2001-03-01 Thread Jones Robert Contr 81 CS/SCK
You might want to look at Date::Calc with the Day_of_Week function -Original Message- From: Conrad, Ben [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 1:16 PM To: Perl-Win32-Users (E-mail) Subject: Printing work days of the week Hello, I've been trying to get a script