1N/A * Try and call method, possibly via cached lookup. 1N/A * If method does not exist return Nullsv (caller may fallback to another approach 1N/A * If method does exist call it with flags passing variable number of args 1N/A * Last arg is a "filehandle" to layer below (if present) 1N/A * Returns scalar returned by method (if any) otherwise sv_undef 1N/A /* FIXME: How should this work for OPEN etc? */ 1N/A "No package specified");
1N/A /* binmode() passes NULL - so find out what mode is */ 1N/A /* Required open method not present */ 1N/A * More layers above the one that we used to open - 1N/A /* If pushing layers fails close the file */ 1N/A /* FIXME - Call an OPENED method here ? */ 1N/A /* Sub-layer open failed */ 1N/A /* Nothing to do the open */ 1N/A /* Most of the fields will lazily set themselves up as needed 1N/A stash and obj have been set up by the implied push 1N/A#
endif /* Layers available */