Aside, I prefer
prompt -line => "Eh?: ";
over
prompt -line, "Eh?: ";
since the two form a name-value relation.
Actually, according to the IO::Prompt docs (the ascii-table in the INTERFACE section), -line doesn't actually take an argument, and so looks to me like it doesn't actually have a name-value relationship with the prompt string.
In reply to Re^4: Why doesn't Perl warn me about this bareword? (IO::Prompt prompt -line)
by j3
in thread Why doesn't Perl warn me about this bareword? (IO::Prompt prompt -line)
by j3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |