Skip to content

Conversation

sztanyi
Copy link
Contributor

@sztanyi sztanyi commented Nov 17, 2019

The problem

Following example seems incorrect
`With file.dat present, this will work this way:

$ perl6 frobnicate.p6
24
file.dat
Verbosity off
Or this way with --verbose:

$ perl6 frobnicate.p6 --verbose
24
file.dat
Verbosity on`

Solution provided

Add file.dat to command line argument
`$ perl6 frobnicate.p6 file.dat
24
file.dat
Verbosity off
Or this way with --verbose:

$ perl6 frobnicate.p6 --verbose file.dat
24
file.dat
Verbosity on`

Copy link
Contributor

@JJ JJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Theoretically, .file.dat should be a default value. If it does not work that way, the problem is not with the argument, but with the program itself.

@sztanyi sztanyi closed this Nov 17, 2019
@sztanyi sztanyi deleted the patch-1 branch November 17, 2019 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants