1
0
Эх сурвалжийг харах

Update Perl documentation (5.40.2)

Simon Legner 6 сар өмнө
parent
commit
de218ca782

+ 6 - 1
lib/docs/scrapers/perl.rb

@@ -19,11 +19,16 @@ module Docs
     options[:skip_patterns] = [/\Afunctions/, /\Avariables/, /\.pdf/, /delta/]
 
     options[:attribution] = <<-HTML
-      &copy; 1993&ndash;2023 Larry Wall and others<br>
+      &copy; 1993&ndash;2025 Larry Wall and others<br>
       Licensed under the GNU General Public License version 1 or later, or the Artistic License.<br>
       The Perl logo is a trademark of the Perl Foundation.
     HTML
 
+    version '5.40' do
+      self.release = '5.40.2'
+      self.base_url = "https://perldoc.perl.org/#{release}/"
+    end
+
     version '5.38' do
       self.release = '5.38.0'
       self.base_url = "https://perldoc.perl.org/#{release}/"