You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ls foo
ls: cannot access 'foo': No such file or directory
$ perl -e "use autodie ':io'; close (STDIN); open (FILE, '> foo');"
Filehandle STDIN reopened as FILE only for output at (eval 8) line 89.
$ ls foo
foo
$
The open() call clearly succeeds, since the file is created. And the warning emitted doesn't make any sense: there is no attempt to reopen STDIN or any other input stream. (The line number in the warning is also absurd for a one-line script.)
The text was updated successfully, but these errors were encountered:
The
open()
call clearly succeeds, since the file is created. And the warning emitted doesn't make any sense: there is no attempt to reopen STDIN or any other input stream. (The line number in the warning is also absurd for a one-line script.)The text was updated successfully, but these errors were encountered: