Perl: What exactly is C<our>? -
i in process of teaching self perl. using epic debugger in eclipse. whenever have var used 1 time in sub warning:
typographical errors show unique variable names. if had reason having unique name, mention again somehow suppress message. c<our> declaration provided purpose.
c<our>? standard searching inconclusive.
as far
c<>part may have confused you, looks epic took text in pod format , printed raw instead of rendering pod formatted text.c<our>in pod syntax means "print text 'our' formatted code", meaning mono-spaced font. similar stackoverflow's`our`backtick-surrounded format command own question used.the error comes perl's
diagnosticsmodule, provides extended explanations otherwise cryptic perl warnings (in case, "name "%s::%s" used once: possible typo"). matter of fact, judging pod formatting confused you, epic uses source pod above-linked "perldiag" document generated.if you're asking
ourdoes, should read perldoc -f our - way create alias global variable effective in given scope (see tchrist's asnwer details).as far googling technique in case, when you're searching expect perl keywords, pays google "perldoc somekeyword".
Comments
Post a Comment