>>>>> "AG" == Agnello George <agnello.dso...@gmail.com> writes:

  AG> On Sat, Apr 16, 2011 at 2:36 PM, Uri Guttman <u...@stemsystems.com> wrote:
  >> 
  >>  AG> open(INPUT_FILE, $filename)  or die "cannot opnen file $!";
  >> 
  >> don't use bareword filehandles. this is said all the time here. use
  >> lexical handles.
  >> 

  AG> Could you Give me a example for  lexical handles or reference me to a 
website .

look in the archives of this list. perldoc -f open covers this some.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to