in reply to Re^3: Why doesn't Perl warn me about this bareword? (IO::Prompt prompt -line)
in thread Why doesn't Perl warn me about this bareword? (IO::Prompt prompt -line)

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.

  • Comment on Re^4: Why doesn't Perl warn me about this bareword? (IO::Prompt prompt -line)