> Um, what stops open returning undef on failure (and setting $!), so I could do > > $fh = open $filename or die "open $filename failed: $!\n"; Exactly. You don't lose anything because open() will still return "true" (a handle) or "false" (undef). -Nate
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Nathan Wiger
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Johan Vromans
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Bart Lateur
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Nathan Torkington
- Re: RFC: Filehandle type-defining punctuation Peter Scott
- Re: RFC: Filehandle type-defining punctuation Nathan Wiger
- Re: RFC: Filehandle type-defining punctuation Nick Ing-Simmons
- Re: RFC: Filehandle type-defining punctuation Jonathan Scott Duff
- Re: RFC: Filehandle type-defining punctuation Piers Cawley
- Re: RFC: Filehandle type-defining punctuation Simon Cozens
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Peter Scott
- Re: RFC: Filehandle type-defining punctuation Larry Wall
- Re: RFC: Filehandle type-defining punctuation John Porter
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen