Opened 10 years ago

Closed 10 years ago

#597 closed task (fixed)

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 (1)

comment:1 Changed 10 years ago by Sewi

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

Fixed in r8142

Note: See TracTickets for help on using tickets.