Greetings.
I'm writing object that have to write into file. How can i store filehandle in $self?
I tried to use
open($self->{FILE}, ">>$self->{file_path}$self->{file_name}"); print $self->{FILE} "some text here\n"; close($self->{FILE});
But got error "String found where operator expected"
In reply to open $self->{FILE} by b888
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |