Skip to content

Commit 9f50c2c

Browse files
committed
Update Perl documentation (5.34.0)
1 parent 42ae188 commit 9f50c2c

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ credits = [
618618
'https://raw.githubusercontent.com/pydata/pandas/master/LICENSE'
619619
], [
620620
'Perl',
621-
'1993-2020 Larry Wall and others',
621+
'1993-2021 Larry Wall and others',
622622
'GPLv1',
623623
'https://perldoc.perl.org/index-licence.html'
624624
], [

lib/docs/scrapers/perl.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ module Docs
22
class Perl < UrlScraper
33
self.name = 'Perl'
44
self.type = 'perl'
5-
# self.root_path = 'index.html'
65
self.initial_paths = ['modules.html', 'perlutil.html', 'perl.html']
76
self.links = {
87
home: 'https://www.perl.org/'
@@ -20,11 +19,16 @@ class Perl < UrlScraper
2019
options[:skip_patterns] = [/\Afunctions/, /\Avariables/, /\.pdf/, /delta/]
2120

2221
options[:attribution] = <<-HTML
23-
&copy; 1993&ndash;2020 Larry Wall and others<br>
22+
&copy; 1993&ndash;2021 Larry Wall and others<br>
2423
Licensed under the GNU General Public License version 1 or later, or the Artistic License.<br>
2524
The Perl logo is a trademark of the Perl Foundation.
2625
HTML
2726

27+
version '5.34' do
28+
self.release = '5.34.0'
29+
self.base_url = "https://perldoc.perl.org/#{self.release}/"
30+
end
31+
2832
version '5.32' do
2933
self.release = '5.32.0'
3034
self.base_url = "https://perldoc.perl.org/#{self.release}/"

0 commit comments

Comments
 (0)