On Fri Dec 07 05:10:15 2007, coke wrote: > From PDD22: > > C<getfd> retrieves the UNIX integer file descriptor of a stream object. > The opcode has been replaced by a 'get_fd' method on the ParrotIO > object. > > -- > > This ticket is to track the creation of the get_fd method.
Also from PDD22: =item C<get_fd> $I0 = $P1.get_fd() For stream objects that are simple wrappers around a Unix filehandle, C<get_fd> retrieves the Unix integer file descriptor of the object. This method doesn't exist on stream objects that aren't Unix filehandles, so check C<does> for the appropriate role, or C<can> for the method before calling it. No asynchronous version. {{ NOTE: use a config probe (behind C<does> or C<can>) to determine support }}