-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo in "use" documentation #12706
Comments
From @jimavThis is a bug report for perl from james_avera@yahoo.com, It looks like there's a typo in the pod for "use", which says ("see if" ?) I'm guessing this was meant to say "see below" or similar. Actually, the sentence could just say the whole story, e.g. Flags: Site configuration information for perl 5.14.2: Configured by Debian Project at Tue Nov 27 00:34:23 UTC 2012. Summary of my perl5 (revision 5 version 14 subversion 2) configuration: Locally applied patches: @INC for perl 5.14.2: Environment for perl 5.14.2: |
From @doyOn Wed, Jan 16, 2013 at 03:20:49PM -0800, Jim Avera wrote:
No, this is a reference to the 'if' module - see 'perldoc if'. -doy |
The RT System itself - Status changed from 'new' to 'open' |
From @csjewell
*Looks* being the operative word here. The 'if' the documentation is |
From [email protected]On Thu, Jan 17, 2013 at 12:24 AM, Jesse Luehrs <doy@tozt.net> wrote:
Yep: $ perldoc -uf use | grep 'made conditional' If there's a problem here, it's that the pod formatting does not (I guess a C<< see "perldoc if" >> or, using the man page convention, C<< But the pod is correct. Eirik |
From @maukeOn 17.01.2013 08:43, Eirik Berg Hanssen wrote:
If we're going for a POD workaround, I'd suggest something like "see -- |
From @tamiasOn Thu, Jan 17, 2013 at 08:59:25AM +0100, Lukas Mai wrote:
"perldoc if" presupposes that the reader is reading the documentation with The importation can be made conditional by using the L<if> module. Ronald |
From @rjbs* Ronald J Kimball <rjk@tamias.net> [2013-01-17T20:40:23]
Thanks, done as 08ed354. -- |
From @rjbsAddressed by 116429. |
From [Unknown Contact. See original ticket]Addressed by 116429. |
@rjbs - Status changed from 'open' to 'resolved' |
From @jimav
That isn't quite the same, is it? ("use if" not only doesn't import but it doesn't 'require' the module |
From @doyOn Wed, Jan 16, 2013 at 06:26:17PM -0800, Jim Avera wrote:
"use if" does both require the module and call import (and this is -doy |
From @jimavWell, 'cause the docs say so: "use if ... has no effect unless My point was that the 'if' module allows conditional *loading* of |
From @doyOn Mon, Jan 21, 2013 at 12:14:35AM -0800, Jim Avera wrote:
The docs say that it has no effect unless CONDITION is true, but that "use if 0, 'Foo'" does nothing at all, but "use if 1, 'Foo'" is -doy |
Migrated from rt.perl.org#116429 (status was 'resolved')
Searchable as RT116429$
The text was updated successfully, but these errors were encountered: