From 1f894a5f99bb10c4062de4f36769f124ff8ca2b7 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Tue, 10 Apr 2012 15:08:47 +0200 Subject: [PATCH] Bug 2505 follow-up: C4::Ris not ready for use strict;use warnings; The patch pushed a few hours ago is a good 1st step in the right direction. however, many things are still to do to have the script OK with strict/warning, so commenting them Errors if you have them: Global symbol "$utf" requires explicit package name at C4/Ris.pm line 111. Global symbol "$intype" requires explicit package name at C4/Ris.pm line 350. Global symbol "$intype" requires explicit package name at C4/Ris.pm line 350. Global symbol "$intype" requires explicit package name at C4/Ris.pm line 353. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 363. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 389. Global symbol "$intype" requires explicit package name at C4/Ris.pm line 431. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 438. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 439. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 440. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 441. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 442. Global symbol "$intype" requires explicit package name at C4/Ris.pm line 443. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 464. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 465. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 466. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 479. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 480. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 483. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 484. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 485. Global symbol "$intype" requires explicit package name at C4/Ris.pm line 501. Global symbol "$intype" requires explicit package name at C4/Ris.pm line 505. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 527. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 530. Global symbol "$intype" requires explicit package name at C4/Ris.pm line 539. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 540. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 556. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 557. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 561. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 562. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 578. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 579. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 583. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 584. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 613. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 614. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 629. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 630. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 645. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 646. Global symbol "$intype" requires explicit package name at C4/Ris.pm line 674. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 706. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 707. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 707. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 710. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 715. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 721. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 725. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 729. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 730. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 730. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 731. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 734. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 735. Global symbol "$protoyear" requires explicit package name at C4/Ris.pm line 738. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 772. Global symbol "@kwsubfields" requires explicit package name at C4/Ris.pm line 776. Global symbol "@kwsubfields" requires explicit package name at C4/Ris.pm line 779. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 789. Global symbol "@notesubfields" requires explicit package name at C4/Ris.pm line 892. Global symbol "@notesubfields" requires explicit package name at C4/Ris.pm line 895. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 901. Global symbol "$marcprint" requires explicit package name at C4/Ris.pm line 935. Global symbol "$utf" requires explicit package name at C4/Ris.pm line 962. Global symbol "$uniout" requires explicit package name at C4/Ris.pm line 966. C4/Ris.pm had compilation errors. (cherry picked from commit 5d9c7dfe040ca0302095a5641060388b14b9e984) --- C4/Ris.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Ris.pm b/C4/Ris.pm index 0883f34b9f..dc86353ab6 100644 --- a/C4/Ris.pm +++ b/C4/Ris.pm @@ -59,8 +59,8 @@ package C4::Ris; # # -use strict; -use warnings; +#use strict; +#use warnings; use vars qw($VERSION @ISA @EXPORT); -- 2.39.5