[wellylug] Getting user input into a Perl program

michael at diaspora.gen.nz michael at diaspora.gen.nz
Sun Jan 29 19:22:20 NZDT 2006


>Thanks Michael. Why the label, though?

One of the guidelines in /Perl Best Practices/ (also by Damian Conway),
which is where I learnt about IO::Prompt, is that loop control statements
like last should jump to a clear label, as a bare "last" or "continue"
isn't visually very distinct.  Since I was writing about a PBP module,
I thought I'd try to remember PBP style :)

    -- michael.




More information about the wellylug mailing list