new

$

fh

 
= new ([


params


])

Constructor. Creates an IO::File object, passing any parameters to the method open . If the open fails, the object is destroyed. Otherwise, it is returned to the caller.