File: platform.pm

package info (click to toggle)
openssl 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 143,188 kB
  • sloc: ansic: 632,036; perl: 234,368; asm: 6,546; sh: 1,604; pascal: 958; python: 596; makefile: 538; lisp: 35; ruby: 16; cpp: 10; sed: 6
file content (18 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package platform;

use strict;
use warnings;
use vars qw(@ISA);

# Callers must make sure @INC has the build directory
use configdata;

my $module = $target{perl_platform} || 'Unix';
(my $module_path = $module) =~ s|::|/|g;

require "platform/$module_path.pm";
@ISA = ("platform::$module");

1;

__END__