Ticket #597 (closed task: fixed)

Opened 5 years ago

Last modified 5 years ago

Merge duplicate code for OS-constants

Reported by: Sewi Owned by:
Priority: minor Milestone:
Component: editor Version: trunk
Keywords: Cc:


use constant IS_MAC => !!( $O eq 'darwin' );
use constant IS_WIN32 => !!( $
O =~ /MSWin/ or $O eq 'cygwin' );
same will be in Padre/File/Local?.pm and maybe others.

Move this to one Module where others could use it (Padre::Constant?)

Change History

comment:1 Changed 5 years ago by Sewi

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r8142

Note: See TracTickets for help on using tickets.