Re: CR LF with UNIX and Windows (DOSish?)

2001-05-13 Thread Mike Lacey
Missed the fact that you are using seek, sorry. Don't know about the consistency of $^O, WinME returns "MSWin32" if that's any help to you. Mike - Original Message - From: "David Falck" <[EMAIL PROTECTED]> To: "Mike Lacey" <[EMAIL PROT

Re: CR LF with UNIX and Windows (DOSish?)

2001-05-13 Thread Mike Lacey
David, My understanding is that you don't need to worry about what character(s) contitute a newline. The different versions of Perl know about this and do what you would expect. So \n on UNIX is a LF and CRLF on DOS. Did you already try this and encounter problems? Mike --- Mike

Re: Perl and WindowsNT

2001-05-08 Thread Mike Lacey
ul with the file } close F; } Mike Lacey www.tek-tips.com -- a friendly, flame free, environment for computer professionals and students Perl forum at: http://www.tek-tips.com/gthreadminder.cfm/lev2/4/lev3/32/pid/219 - Original Message - From: "Carl Rogers" <[EMAIL PROTECTED]&

Re: Counting lines on a file

2001-05-04 Thread Mike Lacey
my $file = $ARGV(0); hmmm -- try my $file = shift; - Original Message - From: "Brett W. McCoy" <[EMAIL PROTECTED]> To: "Susan Richter" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, May 05, 2001 1:26 AM Subject: Re: Counting lines on a file > On Fri, 4 May 2001, Susan Ric

Re: system call question

2001-05-02 Thread Mike Lacey
yep -- and backticks sets $? with the return code as well, so you get both if you want. - Original Message - From: "Paul" <[EMAIL PROTECTED]> To: "J. Patrick Lanigan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 8:47 PM Subject: Re: system call question > > ---

Re: system call question

2001-05-02 Thread Mike Lacey
Patrick, Put your command in backticks and set a variable to its output (like this $var = `man $manpage`;) - Original Message - From: "J. Patrick Lanigan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 8:25 PM Subject: system call question > Now that I have C

Re: Using Email

2001-05-02 Thread Mike Lacey
I always use Net::SMTP - very good module. Mike Mike Lacey www.tek-tips.com -- a friendly, flame free, environment for computer professionals and students Perl forum at: http://www.tek-tips.com/gthreadminder.cfm/lev2/4/lev3/32/pid/219 - Original Message - From: "Phillip Bruce&quo

Re: Perl regex to C

2001-04-28 Thread Mike Lacey
;ve been warned :-) Mike Lacey www.tek-tips.com -- a friendly, flame free, environment for computer professionals and students Perl forum at: http://www.tek-tips.com/gthreadminder.cfm/lev2/4/lev3/32/pid/219 - Original Message - From: "Robin Lavallee (LMC)" <[EMAIL PROTECTED]&g

Re: Archiving

2001-04-15 Thread Mike Lacey
Dennis, Couple of questions: 1 Is your ChatRoom written in Perl? 2 Do you have a database (Oracle, MySql, Postgress, whatever) at the moment? Mike Mike Lacey www.tek-tips.com -- a friendly, flame free, evironment for computer proffessional and students Perl forum at: http://www.tek-tips.com

Re: hi?

2001-04-15 Thread Mike Lacey
Quite. - Original Message - From: "Nic LAWRENCE" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 15, 2001 4:46 PM Subject: RE: hi? > Absolutely not. > > > -Original Message- > > From: the cut throat party (for self defense) > > [mailto:[EMAIL PROTECTED]] > > Se