VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.1/util/perl/with_fallback.pm@ 94081

最後變更 在這個檔案從94081是 91772,由 vboxsync 提交於 3 年 前

openssl-1.1.1l: Applied and adjusted our OpenSSL changes to 1.1.1l. bugref:10126

檔案大小: 696 位元組
 
1# Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
2#
3# Licensed under the OpenSSL license (the "License"). You may not use
4# this file except in compliance with the License. You can obtain a copy
5# in the file LICENSE in the source distribution or at
6# https://www.openssl.org/source/license.html
7
8package with_fallback;
9
10sub import {
11 shift;
12
13 use File::Basename;
14 use File::Spec::Functions;
15 foreach (@_) {
16 eval "use $_";
17 if ($@) {
18 unshift @INC, catdir(dirname(__FILE__),
19 "..", "..", "external", "perl");
20 my $transfer = "transfer::$_";
21 eval "use $transfer";
22 shift @INC;
23 warn $@ if $@;
24 }
25 }
26}
271;
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette