[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: state of the cdrom mirrors report



* Josip Rodin 

| > > > Index: english/mirror/mirror_list.pl
| > > > ===================================================================
| > > > -open SRC, "<$mirror_source" ||
| > > > +open(SRC, "<$mirror_source") ||
| > > 
| > > Easy on the formatting... :)
| > 
| > That's not formatting, the || die will never be called even if the file
| > does not exist, unless you use parens. Perl parses || at a lower
| > precidence than comma.
| 
| Oh, I see. Maybe "or" would work the way it's intended? (I dislike the
| parens. :)

«or» would work out fine, yes.

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  



Reply to: