Unified · Split
| @@ -618,7 +618,7 @@ credits = [ · 617 unmodified lines | ||
| 618 | 618 | 'https://raw.githubusercontent.com/pydata/pandas/master/LICENSE' |
| 619 | 619 | ], [ |
| 620 | 620 | 'Perl', |
| 621 | − '1993-2020 Larry Wall and others', | |
| 621 | + '1993-2021 Larry Wall and others', | |
| 622 | 622 | 'GPLv1', |
| 623 | 623 | 'https://perldoc.perl.org/index-licence.html' |
| 624 | 624 | ], [ |
| @@ -2,7 +2,6 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Perl < UrlScraper |
| 3 | 3 | self.name = 'Perl' |
| 4 | 4 | self.type = 'perl' |
| 5 | −# self.root_path = 'index.html' | |
| 6 | 5 | self.initial_paths = ['modules.html', 'perlutil.html', 'perl.html'] |
| 7 | 6 | self.links = { |
| 8 | 7 | home: 'https://www.perl.org/' |
| @@ -20,11 +19,16 @@ module Docs · 11 unmodified lines | ||
| 20 | 19 | options[:skip_patterns] = [/\Afunctions/, /\Avariables/, /\.pdf/, /delta/] |
| 21 | 20 | |
| 22 | 21 | options[:attribution] = <<-HTML |
| 23 | − © 1993–2020 Larry Wall and others<br> | |
| 22 | + © 1993–2021 Larry Wall and others<br> | |
| 24 | 23 | Licensed under the GNU General Public License version 1 or later, or the Artistic License.<br> |
| 25 | 24 | The Perl logo is a trademark of the Perl Foundation. |
| 26 | 25 | HTML |
| 27 | 26 | |
| 27 | + version '5.34' do | |
| 28 | + self.release = '5.34.0' | |
| 29 | + self.base_url = "https://perldoc.perl.org/#{self.release}/" | |
| 30 | + end | |
| 31 | + | |
| 28 | 32 | version '5.32' do |
| 29 | 33 | self.release = '5.32.0' |
| 30 | 34 | self.base_url = "https://perldoc.perl.org/#{self.release}/" |