Skip to content

access -e is confusing #232

Description

@jpco

This is a tiny design question.

Currently, the -e flag in $&access is used along with the -1 flag to generate an exception if none of the given files are accessible. This is used to good effect in %pathsearch.

However, without the -1, $&access -e quietly has no effect at all. That seems a bit strange, and not very useful. Should we instead treat it as an invalid option, OR make it significant in that case by throwing an exception if the $&access operation would have a falsey result?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions