Maybe  if($_ =~ /^\s+$/){
          do something...
       }

-----Original Message-----
From: Michael Stearman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 12:46 PM
To: [EMAIL PROTECTED]
Subject: Filehandle = blank line???


Hello all,

I am stepping through an input file using the filehandle and I need to do an

if statement which recognizes whether the filehandle is a blank line.  In 
other words, what I want to do is

if ($_ eq 'blank line') {
    ... }

And I was wondering what I use to represent blank line.  Thanks for the 
help...being so new to Perl this list has helped me a lot and I am extremely

grateful.  Thanks again,

Mike.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------------------
This email may contain confidential and privileged 
material for the sole use of the intended recipient. 
If you are not the intended recipient, please contact 
the sender and delete all copies.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to