Perl6 RFC Librarian wrote:
> =head2 Cheating Is Still Possible
> 
> Not ignoring the return value is of course no guarantee of doing
> anything useful with the return value:
> 
>         $so_what++ unless defined fork();
> 
> But detecting whether 'something useful' is done is squarely in
> the realm of heavy AI.

As with all strictures, it may be lexically disabled:

  {
    no strict 'system';      # I know what I'm doing
    open STDERR, ">>log/$0"; # if ./log doesn't exist, don't open
  }
  # check syscalls again

This is the stylistically correct way to ignore the return value of a
system call.

Jon
-- 
Knowledge is that which remains when what is
learned is forgotten. - Mr. King

Reply via email to