it looks like the problem is $AUTOLOAD in Fcntl, which throws the error when the symbol table is queried.
looping through the symbol table doesn't throw the same error:
foreach my $sym (keys $Fnctl::){ if($sym eq 'O_NONBLOCK'){ $SYSOPEN_MODE |= &{ $Fcntl::{'O_NONBLOCK'} }; } }
however, this doesn't work with another constant, O_NOCTTY
In reply to Re^2: Fcntl constants missing
by nwetters
in thread Fcntl constants missing
by nwetters
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |