You are here: Foswiki>Tasks Web>Item15323 (21 May 2024, MichaelDaum)Edit Attach

Item15323: multiple errors found by perlcrit

pencil
Priority: Normal
Current State: Waiting for Release
Released In: 2.1.9
Target Release: patch
Applies To: Engine
Component:
Branches: Release02x01 master
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
  • don't modify $_ in map {}
  • use numeric comparison for numeric values
  • use exlicit notation for octal values as in oct(600)
  • use explicit glob() instead of <... >
  • declare variables even in foreach loops

-- MichaelDaum - 21 May 2024

 
Topic revision: r1 - 21 May 2024, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy