Or try:
open (my $FH_01 , ">", "file_01.txt" ) || die "open failed $!"; &hash2file(\%hash_regs, $FH_01); # it should work
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
In reply to Re: How can I pass File_Handle to a subroutine?
by psini
in thread How can I pass File_Handle to a subroutine?
by Hanken
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |