Matt Sergeant writes:
> Nope, but often I do use the TomC "my $fh = do { local *FH; };" method,
> because I hate those ugly HANDLE capital letters everywhere - they use up
> more bytes than lower case ones... ;-)

When you have 5.6.0, it's even easier:

  my $fh;
  open($fh, "< foobar") or die;
  # $fh autovivified to a filehandle

Whee!  You can even use the 3-arg open for maximum delight.

Nat

Reply via email to