(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 :-)

Alex
_______________________________________________
BristolBathPM mailing list
[email protected]
http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm

Reply via email to