RE: MinGW - additional question from relative newbie

2009-07-13 Thread Jan Dubois
On Mon, 13 Jul 2009, Greg Aiken wrote: > > The problem is that my main computer is not direct connected to the > internet, so I cant issue a 'ppm install MinGW' command. > > Does anyone know of a step by step manual installation/configuration > sequence that one may follow to manually install Min

MinGW - additional question from relative newbie

2009-07-13 Thread Greg Aiken
With all of this recent discussion about MinGW, I thought I would ask a question. To start off by stating that I'm a relative Perl newbie here. I have no previous experience with C++, nor of using MinGW. But from what I've read, if one has ActivePerl 'properly installed, co

Re: Newbie Question

2008-04-02 Thread Foo JH
I'm sorry to fumble around the old question: wouldn't sending a filename as a parameter be a more scalable solution, as opposed to squeezing in stuff through command line? If this function is to happen regularly (or concurrently for the matter), you can create a temporary file as the file refer

RE: Newbie Question

2008-04-01 Thread Stuart Arnold
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karl Anderson Sent: Tuesday, April 01, 2008 11:46 PM To: Perl-Win32-Users@listserv.ActiveState.com Subject: Re: Newbie Question Thank you, Passing it as a file would be best, however it is selected text so I believe it is a long string

Re: Newbie Question

2008-04-01 Thread Lim Ee Wah
Hi, Does SciTE allow you send the $(CurrentSelection) into STDIN pipe of your script? Example: system "echo $(CurrentSelection) | perl yourscript" Thanks. Ee Wah http://www.kopi-putih.blogspot.com On 4/2/08, Karl Anderson <[EMAIL PROTECTED]> wrote: > > > Thank you, > Passing it as a file would

Re: Newbie Question

2008-04-01 Thread Karl Anderson
Thank you, Passing it as a file would be best, however it is selected text so I believe it is a long string. k Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___

Re: Newbie Question

2008-04-01 Thread Foo JH
You're trying to put in 900 arguments into the command line? Aren't you better off passing the filename into the command line? Karl Anderson wrote: > Thank you in advance > > I am attempting to write a perl script to manipulate about 900 words > of text in scite. > I am passing the text to perl

Newbie Question

2008-04-01 Thread Karl Anderson
Thank you in advance I am attempting to write a perl script to manipulate about 900 words of text in scite. I am passing the text to perl via "$(CurrentSelection)". My problem is how do I get such a large commandline argument into the script? k ___ Pe

Newbie question about [out] parameters

2007-05-19 Thread James Hill
Hey Folks, I have a newbie question for Win32::OLE. How do I use [out] parameters within PERL?? What's the correct syntax for calling a COM method that contains [out] parameters so the invoked object can store its data?? Thanks, James James H.

Re: Newbie: email from perl script

2006-11-03 Thread Sisyphus
- Original Message - From: "khozaima shakir" <[EMAIL PROTECTED]> To: Sent: Saturday, November 04, 2006 7:43 AM Subject: Newbie: email from perl script . . > get follwing error :Can't call method "mail" on an undefined value >

Re: Newbie: email from perl script

2006-11-03 Thread $Bill Luebkert
khozaima shakir wrote: > Hi All, > I am a newbie to perl. Have installed active state and installed libnet > module. > > Am trying to learn how to send email from perl script and get follwing > error : > > Can't call method "mail" on an undefined value at

Re: FW: Newbie: email from perl script

2006-11-03 Thread John Mason Jr
Debug => 1, ); khozaima shakir wrote: > ofcourse, i replaced the internet address to valid address :) > > > > > > From: [EMAIL PROTECTED] > To: p

FW: Newbie: email from perl script

2006-11-03 Thread khozaima shakir
ofcourse, i replaced the internet address to valid address :)From: [EMAIL PROTECTED]To: perl-win32-users@listserv.activestate.comSubject: Newbie: email from perl scriptDate: Fri, 3 Nov 2006 15:43:06 -0500 Hi All,I am a newbie to perl. Have installed active state and installed libnet

Newbie: email from perl script

2006-11-03 Thread khozaima shakir
Hi All,I am a newbie to perl. Have installed active state and installed libnet module.Am trying to learn how to send email from perl script and get follwing error :Can't call method "mail" on an undefined value at myfirst.pl line 152, line 1.the script ( off the aspn:

Re: Regex Newbie Q: Non-Trivial Substitution and Modifying the Matched String

2005-10-10 Thread Andy_Bach
Not sure I'm getting it completely, but using match in a while loop w/ the /g modifier lets you process a string one match at a time: my $string = "Lots of words to be read one at a time.\nthough more than one line"; while ( $string =~ /(\w+)/g ) { print "Found: $1\n"; print "Proceessing ..

Re: Regex Newbie Q: Non-Trivial Substitution and Modifying the MatchedString

2005-10-10 Thread Veli-Pekka Tätilä
Joe Discenza wrote: "Veli-Pekka Tätilä" wrote, on Sun 10/9/2005 15:58 replacement is so complex that it cannot be expressed as a straight substitution. So I would have to find a piece of text, process it in a separate function, and replace the matched text with the newly computed text. This goes

Re: Regex Newbie Q: Non-Trivial Substitution and Modifying the Matched String

2005-10-10 Thread Veli-Pekka Tätilä
Kenneth McNamara wrote: You're implying that the music macro language is pos() sensitive. That is a pretty severe problem in itself. Hmm, I'm not totally sure if it is. But true certain modifiers apply until the next note, such as one or more periods. My MML experience is actually from trying t

RE: Regex Newbie Q: Non-Trivial Substitution and Modifying the MatchedString

2005-10-10 Thread Joe Discenza
Title: Regex Newbie Q: Non-Trivial Substitution and Modifying the MatchedString "Veli-Pekka Tätilä" wrote, on Sun 10/9/2005 15:58: Yet another newbie question about regular expressions:: I'd like to find and replace bits of text as usual. However, rather than: replace all

Re: Regex Newbie Q: Non-Trivial Substitution and Modifying the Matched String

2005-10-10 Thread Kenneth McNamara
? I think I'd be more inclined to use a "$noteindex{$note} = $pitch" hash table than a regex - then process the input one note at a time. KenMc On Oct 9, 2005, at 2:58 PM, Veli-Pekka Tätilä wrote: Hi, Yet another newbie question about regular expressions: I'd like to find

Re: Regex Newbie Q: Non-Trivial Substitution and Modifying the MatchedString

2005-10-09 Thread Chris Wagner
So what ur saying is that u want to do a lot of substitutions in one pass. U could always have one s///g for each thing u want substituted and run it n times. Can u post some actual strings that u want to parse and the substitutions? Then we can figure it out. At 10:58 PM 10/9/05 +0300, =?iso-88

Regex Newbie Q: Non-Trivial Substitution and Modifying the Matched String

2005-10-09 Thread Veli-Pekka Tätilä
Hi, Yet another newbie question about regular expressions: I'd like to find and replace bits of text as usual. However, rather than replace all occurrences in one quick swoop using the s-operator and the g-flag, the replacement is so complex that it cannot be expressed as a str

OLE Automation of OmniPage 12: Newbie Qs

2005-08-05 Thread Veli-Pekka Tätilä
Hi, This is my first post here. I tried a couple of newsgroups initially but was directed here in stead. I've also got questions about the use of the Clipboard and SAPI4 modules but they'll have to wait for another mail. Anyway, let's get to the gist of the problem: I'm

Re: Newbie: RegEx portions of a string into an array

2005-01-10 Thread $Bill Luebkert
Joe Discenza wrote: > [EMAIL PROTECTED] * *wrote, on > Mon 1/10/2005 06:53 > > : What I have is > > : > > : $string = “my name is %name%, age %age%, department %dept%”; > > : > > : What I want is > > : > > : The % wrapped text returned to an array like > > : > >

RE: Newbie: RegEx portions of a string into an array

2005-01-10 Thread Joe Discenza
lto:[EMAIL PROTECTED]   Carleton Inc.   http://www.carletoninc.com  574.243.6040 ext. 300    fax: 574.243.6060 Providing Financial Solutions and Compliance for over 30 Years To: perl-win32-users@listserv.ActiveState.comSubject: Newbie: RegEx portions of a string into an array   Ps name a

Newbie: RegEx portions of a string into an array

2005-01-10 Thread ken . brown
What I have is $string = "my name is %name%, age %age%, department %dept%"; What I want is The % wrapped text returned to an array like My @list = GetVars($string); My problem I don't know what sub GetVars will look like# Anyone done something similar or know how I coul

Re: CGI Help for a Newbie...

2004-05-27 Thread Dennis G. Wicks
On Thu, 27 May 2004, Jared Squires wrote: > Date: Thu, 27 May 2004 08:46:07 -0700 (PDT) > From: Jared Squires <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: CGI Help for a Newbie... > > That's the thing... I don't want to have to deal with > the

Re: CGI Help for a Newbie...

2004-05-27 Thread Jared Squires
That's the thing... I don't want to have to deal with the problems of maintaining a server. My father-in-law is very twitchy when it comes to company information that even has a modem in it. What Im trying to learn I guess. Will "myform.html" with some kind of HTML like work on a client-ONLY co

Re: CGI Help for a Newbie...

2004-05-27 Thread Thomas R Wyant_III
[EMAIL PROTECTED] wrote: > To the Point (the question): If I install ActiveState > Perl onto a non-internet connected computer, can I > create an HTML file (client side) that has a form that > submits to a CGI file (client side - same computer) > and uses that data to create some MS word document

CGI Help for a Newbie...

2004-05-27 Thread Jared Squires
In my defense I did my best to search the ActiveState CGI and Win32 archives to get an answer to my question, but with no definitive answer to my question. My experience: Been reading Learning Perl for Win32 users for a couple weeks. Lessons going well. Have a lot of HTML experience, some progr

Re: solution... (damn m$!!) RE: newbie: foreign characters

2004-01-02 Thread Glenn Linderman
that I might also benefit from your solution. $newdata = decode("utf16be", $mydata); print $newdata."\n"; } close RESOLV; -Original Message- From: Glenn Linderman [mailto:[EMAIL PROTECTED] Sent: 31 December 2003 08:28 To: Sisyphus Cc: Tom R

RE: newbie: foreign characters

2003-12-30 Thread Tom Roos
christian i read from the perluniintro that version 5.8.0 handles utf-8 natively. hmmm now my head starts spinning tks tom -Original Message- From: Eyrich, Christian [mailto:[EMAIL PROTECTED] Sent: 30 December 2003 11:38 To: Tom Roos Subject: RE: newbie: foreign characters Hello

newbie: foreign characters

2003-12-30 Thread Tom Roos
Title: newbie: foreign characters hi listers i'm a newbie with perl and i need some help. i have a text file which contains some data (i.e the characters) from a non-english language. when in notepad the file, all is ok cause the foreign language characters are displayed corr

Re: Semantics, not a troll (was newbie hlelp!)

2003-09-20 Thread $Bill Luebkert
Lee Goddard wrote: > At 21:42 19/09/2003, Arms, Mike wrote: > >>Lee Goddard [EMAIL PROTECTED]) wrote: >> >>>... I didn't mean to start >>>a flame war here: I only do that if someone asks >>>about text editors. >> >>Nah, I haven't seen any flames. Just a lot of good >>humor. Been a fun topic. > >

Re: Semantics, not a troll (was newbie hlelp!)

2003-09-20 Thread $Bill Luebkert
Lee Goddard wrote: >>This is exactly why we should all use the American definitions. We have >>individual names that apply to each symbol so you can't muck up and get >>the wrong one. > > > Now who's trolling?! > > To coin a phrase, there's more than one way to name it. > I haven't seen a post

Re: newbie hlelp!

2003-09-20 Thread Lee Goddard
At 02:59 19/09/2003, Carl Jolley wrote: You probably won't find "horizontal bar" either but that's probably what Lee calls a dash. (:-D) Oooo, you! Hyphen, actually: a dash is longer. Unless it's an n-dash, but even then, a dash has space either side Lee "Pendant" Goddard __

OT RE: newbie hlelp!

2003-09-20 Thread Lee Goddard
At 10:22 19/09/2003, Beckett Richard-qswi266 wrote: Mind you I bet suspenders are something different in the US. I fear in the US men wear them to keep their trousers up. Call me old-fashioned, but I think they're missing out there. _

RE: Semantics, not a troll (was newbie hlelp!)

2003-09-20 Thread Lee Goddard
At 21:42 19/09/2003, Arms, Mike wrote: Lee Goddard [EMAIL PROTECTED]) wrote: > ... I didn't mean to start > a flame war here: I only do that if someone asks > about text editors. Nah, I haven't seen any flames. Just a lot of good humor. Been a fun topic. Just ask "what's the best text editor for pe

Re: Semantics, not a troll (was newbie hlelp!)

2003-09-20 Thread Lee Goddard
At 22:41 19/09/2003, $Bill Luebkert wrote: Lee Goddard wrote: > At 18:15 18/09/2003, $Bill Luebkert wrote: > >>Dictionary definitions are indented after each symbol pair: > > > Which one? An...American dictionary? > Schock horror: they were only invented to > be different, annoy the Brits and inve

Re: newbie hlelp!

2003-09-18 Thread $Bill Luebkert
Lee Goddard wrote: > Did/do you say braces or square brackets? > Did you specify the style of parenthesis: > looked to me like the significance was as > implicit in your sentence as mine. > > How about: > >() - plain/round parenthesis/brackets >[] - square parenthesis/brackets >{} -

RE: newbie hlelp!

2003-09-18 Thread Arms, Mike
Lee Goddard ([EMAIL PROTECTED]) wrote: > How about: > >() - plain/round parenthesis/brackets >[] - square parenthesis/brackets >{} - curly parenthesis/brackets, set delimiters (maybe not) ><> - angle brackets; greater-/less-than > > Really, though, bull aside, do you Yankees reall

Re: newbie hlelp!

2003-09-18 Thread Lee Goddard
At 19:18 17/09/2003, you wrote: Lee Goddard wrote: > Brackets, parenthesis, the terms change over the Atlantic: > that's just pedantry, Bill :) That's just bull, Lee. :) If you can't have common terminology, how can you have a reasonable discussion about programming which requires explicit termin

Re: newbie hlelp!

2003-09-18 Thread Lee Goddard
I'm guessing that the @{ } syntax implies not only scalar content but that what is enclosed in the braces is an array reference, not a list. Ah, probably: I didn't think beyond scalar Thanks. Lee Miert fizetsz az internetert

Re: newbie hlelp!

2003-09-18 Thread Carl Jolley
> 80008401.LOG: 19691231 > 80008441.LOG: 19691231 > 800084AB.LOG: 19691231 > 80008509.LOG: 19691231 > 80008560.LOG: 19691231 > 8000863E.LOG: 19691231 > > > > > >From: "$Bill Luebkert" <[EMAIL PROTECTED]> > >To: alex p <[EMAIL PROTECTED]> &

Re: newbie hlelp!

2003-09-16 Thread Carl Jolley
On Tue, 16 Sep 2003, alex p wrote: > Thank you all for replying, I am using the code below and I am still unable > to get the correct date > > opendir (DIR, "$server\\c\$\\sys\\data\\LOG\\updates"); > @allfiles = readdir(DIR); > #print("," readdir(DIR)); > #closedir(DIR); > foreach $f

Re: newbie hlelp!

2003-09-16 Thread $Bill Luebkert
Lee Goddard wrote: >>A correction for Lee and Trevor. The "-M" function is not >>the same as (stat $file)[9] which is what the original >>poster wanted (i.e. mtime of a file). > > > You're right of course: not a very good mnemonic. > And whilst I'm showing my ignorance, can someone > please exp

Re: newbie hlelp!

2003-09-16 Thread $Bill Luebkert
alex p wrote: > Thank you all for replying, I am using the code below and I am still unable > to get the correct date > > opendir (DIR, "$server\\c\$\\sys\\data\\LOG\\updates"); > @allfiles = readdir(DIR); > #print("," readdir(DIR)); > #closedir(DIR); > foreach $f (@allfiles) >

Re: newbie hlelp!

2003-09-16 Thread michael higgins
[EMAIL PROTECTED] wrote: Thank you all for replying, I am using the code below and I am still unable to get the correct date opendir (DIR, "$server\\c\$\\sys\\data\\LOG\\updates"); @allfiles = readdir(DIR); #print("," readdir(DIR)); #closedir(DIR); foreach $f (@allfiles) { unless

RE: newbie hlelp!

2003-09-16 Thread Lee Goddard
A correction for Lee and Trevor. The "-M" function is not the same as (stat $file)[9] which is what the original poster wanted (i.e. mtime of a file). You're right of course: not a very good mnemonic. And whilst I'm showing my ignorance, can someone please explain to me why stat needs so many bra

Re: newbie hlelp!

2003-09-16 Thread Dirk Bremer \(NISC\)
- Original Message - From: "alex p" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 16, 2003 11:42 Subject: Re: newbie hlelp! > Thank you all for replying, I am using the code below and I am still unable > to get the correct date >

RE: newbie hlelp!

2003-09-16 Thread Arms, Mike
Lee Goddard ([EMAIL PROTECTED]) wrote: > opendir opens a directory so the contents can be listed. > utime changes the modification times associated with the file. > stat will give you the last modified time (as will -M). > > warn -M $file; > warn ((stat ($file))[9]) Trevor Joerges ([EMAIL PROTEC

Re: newbie hlelp!

2003-09-16 Thread alex p
s: 19691231 for every file? what am I doing wrong? the date should be yesterdays date 20030915 TYAVM From: Carl Jolley <[EMAIL PROTECTED]> To: $Bill Luebkert <[EMAIL PROTECTED]> CC: alex p <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: Re: newbie hlelp! Date: Tue, 16

Re: newbie hlelp!

2003-09-16 Thread Lee Goddard
At 21:41 15/09/2003, alex p wrote: Hello all, I am trying to figure out a way to get the "last modified" date of a file. I have looked at the following modules but they dont seem to address what i need: stat, utime, opendir opendir opens a directory so the contents can be listed. utime changes t

Re: newbie hlelp!

2003-09-15 Thread Carl Jolley
On Mon, 15 Sep 2003, $Bill Luebkert wrote: > alex p wrote: > > > Hello all, > > > > I am trying to figure out a way to get the "last modified" date of a file. > > I have looked at the following modules but they dont seem to address what i > > need: stat, utime, opendir > > > > does anyone know ho

Re: newbie hlelp!

2003-09-15 Thread Trevor Joerges [SendMIME Software]
Try perldoc -f -M. my $modtime = -M file; # will get you the last modified time in days. Hope this help you. Trevor Joerges - Original Message - From: "alex p" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 15, 2003 3:41 PM Subject: newbi

RE: newbie hlelp!

2003-09-15 Thread Messenger, Mark
Title: RE: newbie hlelp! Low tech and sloppy, but functional: @outlines=`"dir $filename /a"`;  # in case file is hidden foreach $_ (@outlines)     {     if (/$filename/i)         {         $moddate=substr($_,0,10);         $modtime=subs

Re: newbie hlelp!

2003-09-15 Thread $Bill Luebkert
alex p wrote: > Hello all, > > I am trying to figure out a way to get the "last modified" date of a file. > I have looked at the following modules but they dont seem to address what i > need: stat, utime, opendir > > does anyone know how to go about getting this date? stat should be fine :

newbie hlelp!

2003-09-15 Thread alex p
Hello all, I am trying to figure out a way to get the "last modified" date of a file. I have looked at the following modules but they dont seem to address what i need: stat, utime, opendir does anyone know how to go about getting this date? TYIA _

Re: easy newbie REGEX

2003-06-12 Thread Carl Jolley
On Tue, 10 Jun 2003, alex p wrote: > All, > I am really bad at REGEX's and am in need of help! > I have a script that asks for users input but I need to check that the input > begin with "MDS(and a number 0-9)" before proceeding > > below is something like what I am doing: > > print "ask for input

Re: easy newbie REGEX

2003-06-10 Thread alex p
} else{print "It worked\n";} } From: "Trevor Joerges \[SendMIME Software\]" <[EMAIL PROTECTED]> To: "alex p" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: Re: easy newbie REGEX Date: Tue, 10 Jun 2003 15:57:52 -

Re: easy newbie REGEX

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
quot;alex p" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 3:17 PM Subject: easy newbie REGEX > All, > I am really bad at REGEX's and am in need of help! > I have a script that asks for users input but I need to check that the input &

Re: easy newbie REGEX

2003-06-10 Thread M Ajmal
how about something like: unless ($answer =~ /^MDS\d/) { print "Try again: "; } MA __ Post your free ad now! http://personals.yahoo.ca ___ Perl-Win32-Users mailing list [

easy newbie REGEX

2003-06-10 Thread alex p
All, I am really bad at REGEX's and am in need of help! I have a script that asks for users input but I need to check that the input begin with "MDS(and a number 0-9)" before proceeding below is something like what I am doing: print "ask for input"; chomp ($answer=); #(not sure which one to use be

RE: Newbie Quick and Dirty GUI

2003-02-26 Thread Toby Stuart
> -Original Message- > From: Daniel Bayerdorffer [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 4:08 AM > To: [EMAIL PROTECTED] > Subject: Newbie Quick and Dirty GUI > > > Hello, > I'm a brand spankin' newbie, so please forgive any

Re: Newbie Question

2003-02-10 Thread Carl Jolley
On Mon, 10 Feb 2003, Heberson Almeida wrote: > HI all!!! > > I want to change some strings inside a HTML files, but I am trying to do this using >a command listed for Perl for Unix. > > How can I change the string inside many html files using Perl for Win32 (5.6.X.X)??? > You haven't provided en

Newbie Question

2003-02-10 Thread Heberson Almeida
HI all!!! I want to change some strings inside a HTML files, but I am trying to do this using a command listed for Perl for Unix. How can I change the string inside many html files using Perl for Win32 (5.6.X.X)??? ___ Perl-Win32-Users mailing

Re: newbie question: about perl56 and perl58

2003-01-28 Thread Dawn Sun
Rob, Thank you very much! I got it worked ! Dawn - Original Message - From: "Sisyphus" <[EMAIL PROTECTED]> To: "Dawn Sun" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 9:53 PM Subject: Re: newbie question: about perl56 a

Re: Help me, I m a 13 year old newbie.

2002-12-06 Thread Martin
If you just want to code and don't care much for installation issues, have a look at http://www.apachefriends.org/ -> WAMPP (Apache, Mysql, Perl&Php and some other stuff like PHPmyAdmin for Windows) or LAMPP (Apache, Mysql, Perl&PHP, phpMyAdmin, proFTP, OpenSSL, GD and so on for Linux). I've alrea

RE: Help me, I m a 13 year old newbie.

2002-12-06 Thread Roger C Haslock
h the log files in /.../logs/access.log and /.../logs/error.log   Regards - Roger - -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Maximum DBZSent: 05 December 2002 20:25To: [EMAIL PROTECTED]Subject: Help me, I m a 13 year old newbie. H

RE: Help me, I m a 13 year old newbie.

2002-12-06 Thread Roger C Haslock
me, I m a 13 year old newbie. Maximum DBZ <[EMAIL PROTECTED]> wrote: > Hey, I want to have my own webhost for my website building, and i > am using apache. I installed Php, and some other stuff, but i don't > know how to make it so the perl is usuable on the apache server. B

Re: Newbie Question

2002-11-21 Thread Dirk Bremer \(NISC\)
- Original Message - From: "Laura Meli" <[EMAIL PROTECTED]> To: "Perl-Win32-Users" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 07:41 Subject: Newbie Question > Hi everyone, > > I am just starting out to use perl to write my test scripts.

Re: Newbie Question

2002-11-21 Thread Martin Moss
happens within your code and it dies (either a perl runtime error or by your use of die). N.B. $@ will contain the error string of the original die message from your script. - Original Message - From: "Laura Meli" <[EMAIL PROTECTED]> To: "Perl-Win32-Users"

RE: Newbie Question

2002-11-21 Thread Medlen, Jiri
--Original Message- From: Laura Meli [mailto:[EMAIL PROTECTED]] Sent: Monday, November 11, 2002 5:41 AM To: Perl-Win32-Users Subject: Newbie Question Hi everyone, I am just starting out to use perl to write my test scripts. I was wondering if there was a way to call one perl program from anot

Newbie Question

2002-11-21 Thread Laura Meli
Hi everyone, I am just starting out to use perl to write my test scripts. I was wondering if there was a way to call one perl program from another. I know that if I have a .pm module then I call it by the use function. How about a .pl file? I want be able to choose which tests I run each time

RE: Newbie in Socket Programming

2002-11-13 Thread John Serink
From: Gajendra Mehta [mailto:gmehta@;ixtelecom.com] > Sent: Thursday, November 14, 2002 6:53 AM > To: [EMAIL PROTECTED] > Subject: Newbie in Socket Programming > > > Hello > > I just want to know if there is a module which can be used for Socket > programming on Window

Newbie in Socket Programming

2002-11-13 Thread Gajendra Mehta
Hello I just want to know if there is a module which can be used for Socket programming on Windows. The operating system is Windows NT and perl version is Active State 5.6.1 build 633. I know there is for Unix Operating IO::Socket Gajendra ___ Perl-Wi

RE: Connecting/Parsing Files On A Unix Machine - NEWBIE

2002-10-07 Thread Barlow, Neil
Thanks for your extremely helpful input. I really appreciated it! Problem sorted!! Regards, NeilB -Original Message- From: Johan Lindstrom [mailto:[EMAIL PROTECTED]] Sent: 07 October 2002 12:47 To: [EMAIL PROTECTED] Subject: Re: Connecting/Parsing Files On A Unix Machine - NEWBIE At

Re: Connecting/Parsing Files On A Unix Machine - NEWBIE

2002-10-07 Thread Johan Lindstrom
At 12:34 2002-10-07 +0100, Barlow, Neil wrote: >I have a script which will be launched from a Win32 Machine - the problem is >that I have to connect to a Unix box which contains a directory of different >files which I have to process. > >I am unable to work out how to connect to the Unix box and p

Re: Connecting/Parsing Files On A Unix Machine - NEWBIE

2002-10-07 Thread Trevor Joerges
AM Subject: Connecting/Parsing Files On A Unix Machine - NEWBIE | Hi All, | | I was hoping that someone could send me in the right direction as to the | resources that I need to complete this task - I REALLY REALLY APPRECITATE | YOUR HELP!!! I ahave been reading away at Programming Perl/Perl

Connecting/Parsing Files On A Unix Machine - NEWBIE

2002-10-07 Thread Barlow, Neil
Hi All, I was hoping that someone could send me in the right direction as to the resources that I need to complete this task - I REALLY REALLY APPRECITATE YOUR HELP!!! I ahave been reading away at Programming Perl/Perl Cookbook to no avail. I have a script which will be launched from a Win32 Mac

RE: Newbie question!!

2002-09-18 Thread Peter Eisengrein
Title: RE: Newbie question!! ### untested my $dir = "/your/dir/here"; opendir(DIR,$dir) || die "Can't open dir $dir : $!\n"; my @files = readdir(DIR); close(DIR); foreach my $file (@files) {     my ($name,$ext) = $file =~ /^([\w|\d]+)\[\d\]\.(\w+)$/;     re

Re: Newbie question!!

2002-09-18 Thread $Bill Luebkert
Avila, Jorge wrote: > Hi all, > > I have a directory with a lot of files like: > > abc[1].htm > def[1].htm > 123[1].htm > 456[1].htm > > > Can anybody please help to create a short script to rename it like ?? > > abc.htm > def.htm > 123.ht

Newbie: Faster way to do this ?

2002-08-30 Thread Thoenen, Peter Mr. EPS
Hello, Parsing a file and trying to replace all instances of a certain combination with another combination. Prob is it seems to take a rather long time to do this. Anybody think of a quicker way to go about this, rather new to perl programming or is it it just due to the size of the files I am

Re: NEWBIE: net::smtp::multipart error OR sending attachments viaSMT P

2002-08-21 Thread $Bill Luebkert
Thoenen, Peter Mr. EPS wrote: > Hello everybody, > > Getting the error: Can't locate object method "new" via package > "Net::SMTP::MultiPart" Change all refs from Net::SMTP::MultiPart to Net::SMTP::Multipart ^ ^ lowercase p on Multipart

NEWBIE: net::smtp::multipart error OR sending attachments via SMTP

2002-08-21 Thread Thoenen, Peter Mr. EPS
Hello everybody, Getting the error: Can't locate object method "new" via package "Net::SMTP::MultiPart" Surprised I am getting the error and can't figure out why. I have all the module requirements and the module installed correctly (see EOM, even tried reinstalling it). The code below is the

Re: Newbie: Faster way to do this and hash problem

2002-08-17 Thread Tim . Moose
You are looping over all of the %ext keys, and provided that $ext{$6} exists, assigning a value to $tad for each key. Therefore, the final value of $tad will always be the same, i.e. the one determined by the last key. > foreach $key ( keys %ext ) {# > if (exists

Newbie: Faster way to do this and hash problem

2002-08-17 Thread Thoenen, Peter Mr. EPS
Hello, 2 questions on the same script Parsing a file and trying to replace all instances of a certain combination with another combination. Prob is it seems to take a rather long time to do this. Anybody think of a quicker way to go about this, rather new to perl programming or is it it just d

RE: Newbie book

2002-05-12 Thread John Serink
MAIL PROTECTED] > Subject: Newbie book > > > > Would you please recommend an introductory level book. > I prefer ones with alot of tutorials/projects. > A book of projects would be great. > > I am fair with VB and Ja

RE: Newbie book

2002-05-12 Thread Thomas R Wyant_III
ded to do the job would probably attack it at that point. Volunteers? Tom [EMAIL PROTECTED]@listserv.ActiveState.com on 05/11/2002 12:19:38 PM Sent by:[EMAIL PROTECTED] To: cc:[EMAIL PROTECTED] Subject:RE: Newbie book On 10/05/2002 18:46:11 perl-win32-users-admin wrote:

RE: Newbie book

2002-05-12 Thread Cassell . David
I have noticed that no one has yet recommended what I consider to be a very good introductory Perl text: "Elements of Programming with Perl" by Andrew L. Johnson [not the deceased U.S. President]. For people who do *not* have a programming background, this is probably a bit better than Randal's

RE: Newbie book

2002-05-10 Thread Ember Normand
ut "Programming Perl" (aka the camel book). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 10:23 AM To: [EMAIL PROTECTED] Subject: Newbie book Would you please recommend an introductory level book. I prefer ones with alot of tutoria

RE: Newbie book

2002-05-10 Thread Aaron Trevena
> Would you please recommend an introductory level book. > I prefer ones with alot of tutorials/projects. > A book of projects would be great. Randal Shwartz's 'Learning Perl' uses plenty of examples and explains perl well Followed by Tom Christiansen / Nathan Torkington 'Perl Cookbook' if you a

Newbie book

2002-05-10 Thread Todd_Hemsell
Would you please recommend an introductory level book. I prefer ones with alot of tutorials/projects. A book of projects would be great. I am fair with VB and Javascript. Thanks for your time, Todd ___ Perl-Win32-Users mailing list [EMAIL PROTECTED

Re: Newbie: Delete a line on a file

2002-02-15 Thread Malcolm Debono
to try to see if it helps me. Help anyone please. - Original Message - From: "Sisyphus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 11, 2002 3:07 PM Subject: Re: Newbie: Delete a line on a file > > - Original Message - >

RE: newbie question splitting a string into tokens

2002-01-07 Thread Peter Eisengrein
I remember seeing something similar done with eval() but I couldn't figure out how. Anyone know how? > -Original Message- > From: Markus Rakowski [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 05, 2002 03:24 > To: [EMAIL PROTECTED] > Subject: RE: newbie

Re: Include statement..Boy am I a newbie

2001-07-03 Thread Ron Grabowski
> In linux it automatically looks in the current directory. However, with > windows, it looks to C:/Perl/lib or C:/Perl/site/lib . All versions of Perl look in the global array @INC to see which directories to look for files: perl -v Characteristics of this binary (from libperl): Locally appl

Include statement..Boy am I a newbie

2001-07-03 Thread Adam F. St. Pierre
Ok, just to prove to one and all that I am a newbie at Perl programming: The Require statement. (i.e., require("mylib.pl");) In linux it automatically looks in the current directory. However, with windows, it looks to C:/Perl/lib or C:/Perl/site/lib . I tried putting the pl file

RE: Serial Port Newbie needs help

2001-07-01 Thread Todd Craigo
Ron, Thanks, learning new stuff every day (and night) Todd -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 01, 2001 3:29 AM To: Todd Craigo Subject: Re: Serial Port Newbie needs help sub pad { ($ptype, $string, $f_len) = @_; if($ptype eq &q

newbie WriteExcel.pm question

2001-06-28 Thread Coleman, Pete
I am using the WriteExcel.pm to make a flat file available to users to download. When Windows 2000 users w/ 2000 office attempt to download they are getting an .xls file extension BUT when Windows NT users w/ '97 office try to download the same file they get an .htm file extension. I think this

RE: Newbie question: Efficient code

2001-06-20 Thread Cornish, Merrill
r be able to see the difference. Choose the backticks if you want to capture STDOUT easily. Merrill -Original Message- From: Varun Seth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 4:57 PM To: '[EMAIL PROTECTED]' Subject: Newbie question: Efficient code Hello, I am new to

Newbie question: Efficient code

2001-06-20 Thread Varun Seth
Hello, I am new to Perl and am converting a batch file written to do a bunch of things with Oracle to Perl. The way I am converting it to Perl is to make bunch of system calls and wondering if I can make it more efficient 'cause each call to system would be expensive in terms of resources etc. He

  1   2   >