There are no direct ways of assigning filehandles or formats, passing them as parameters to subroutines, storing them in data structures, or localizing them. Instead, use the corresponding typeglobs.