Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Patch for missing "Perl Core Documentation" in toc

by whumann (Acolyte)
on Feb 09, 2009 at 18:01 UTC ( #742508=note: print w/replies, xml ) Need Help??


in reply to Pod::Master

I tried using Pod::Master with Strawberry Perl v5.10.0. Basically worked but I had no entries under "Perl Core Documentation". I found the problem here:
if( $modulename =~ /^[Pp]od::(perl[a-z\d]*)/ ) { $Perldoc{$1} = $filename;
My core docs are not in 'pod' and not in 'Pod'. They are in 'pods' which is not matched by the regex. To make it work again, I had to change the code like this:
if( $modulename =~ /^[Pp]od[s]?::(perl[a-z\d]*)/ ) { $Perldoc{$1} = $filename;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://742508]
help
Chatterbox?
[TStanley]: Time flies when you're busy :D
LanX hasn't entered monk puberty yet
erix clocks 12 years
[TStanley]: talexb I was actually in your area last week. I was working in Milton, Ontario at the hospital they are building there.
Eily hasn't entered monk school
[Eily]: there are some special array variables that are not interpolated in double strings, like @*, @/, @(, and @)
[Eily]: is this documented somwhere?

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2017-06-23 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (547 votes). Check out past polls.