On Thu, 2008-10-23 at 10:19 +0100, Alex Francis wrote: > (At the meetup on Tuesday I promised to post more to the list...) > > A little puzzle: > > $ perl -e 'use File::Temp qw(tempfile); print defined &O_CREAT ? > "yes\n" : "no\n"' > no > $ perl -e 'use IO::File; print defined &O_CREAT ? "yes\n" : "no\n"' > no > $ perl -e 'use File::Temp qw(tempfile); use IO::File; print defined > &O_CREAT ? "yes\n" : "no\n"' > yes > > What's going on here then? I have the answer, which I'll send to the > list in an hour or so if nobody else sends it :-)
Fcntl returning 0 but true like the dog it is. toodle-pip Amias _______________________________________________ BristolBathPM mailing list [email protected] http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm
