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
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
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]&
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
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
>
> ---
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
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
;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
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
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
10 matches
Mail list logo