Current Path: > > usr > share > perl5 >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Attribute | Directory | - | - | |
B | Directory | - | - | |
CPAN | Directory | - | - | |
Class | Directory | - | - | |
Compress | Directory | - | - | |
Config | Directory | - | - | |
DBM_Filter | Directory | - | - | |
Devel | Directory | - | - | |
ExtUtils | Directory | - | - | |
File | Directory | - | - | |
Getopt | Directory | - | - | |
I18N | Directory | - | - | |
IO | Directory | - | - | |
IPC | Directory | - | - | |
Locale | Directory | - | - | |
Math | Directory | - | - | |
Memoize | Directory | - | - | |
Module | Directory | - | - | |
Net | Directory | - | - | |
Pod | Directory | - | - | |
Search | Directory | - | - | |
Term | Directory | - | - | |
Text | Directory | - | - | |
Thread | Directory | - | - | |
Tie | Directory | - | - | |
Time | Directory | - | - | |
URI | Directory | - | - | |
Unicode | Directory | - | - | |
User | Directory | - | - | |
encoding | Directory | - | - | |
overload | Directory | - | - | |
pod | Directory | - | - | |
unicore | Directory | - | - | |
vendor_perl | Directory | - | - | |
warnings | Directory | - | - | |
AnyDBM_File.pm | File | 2618 bytes | July 28 2025 08:07:09. | |
AutoLoader.pm | File | 15797 bytes | July 28 2025 08:07:09. | |
AutoSplit.pm | File | 19637 bytes | July 28 2025 08:07:09. | |
Benchmark.pm | File | 31025 bytes | July 28 2025 08:07:09. | |
CORE.pod | File | 3188 bytes | July 28 2025 08:07:09. | |
DB.pm | File | 18922 bytes | July 28 2025 08:07:09. | |
DBM_Filter.pm | File | 14385 bytes | July 28 2025 08:07:09. | |
DirHandle.pm | File | 1556 bytes | July 28 2025 08:07:09. | |
Dumpvalue.pm | File | 17556 bytes | July 28 2025 08:07:09. | |
English.pm | File | 4761 bytes | July 28 2025 08:07:09. | |
FileCache.pm | File | 5572 bytes | July 28 2025 08:07:09. | |
FileHandle.pm | File | 6784 bytes | July 28 2025 08:07:09. | |
FindBin.pm | File | 4561 bytes | July 28 2025 08:07:09. | |
Internals.pod | File | 2576 bytes | July 28 2025 08:07:09. | |
Memoize.pm | File | 36192 bytes | July 28 2025 08:08:32. | |
NEXT.pm | File | 18846 bytes | July 28 2025 08:07:09. | |
PerlIO.pm | File | 10459 bytes | July 28 2025 08:07:09. | |
Safe.pm | File | 25082 bytes | July 28 2025 08:07:09. | |
SelectSaver.pm | File | 1076 bytes | July 28 2025 08:07:09. | |
SelfLoader.pm | File | 17692 bytes | July 28 2025 08:08:32. | |
Symbol.pm | File | 4799 bytes | July 28 2025 08:07:09. | |
Test.pm | File | 30057 bytes | July 28 2025 08:08:32. | |
Thread.pm | File | 8287 bytes | July 28 2025 08:07:09. | |
UNIVERSAL.pm | File | 6594 bytes | July 28 2025 08:07:09. | |
URI.pm | File | 34790 bytes | January 09 2018 06:42:55. | |
XSLoader.pm | File | 11267 bytes | July 28 2025 08:07:09. | |
_charnames.pm | File | 33166 bytes | July 28 2025 08:07:09. | |
autouse.pm | File | 4238 bytes | July 28 2025 08:07:09. | |
base.pm | File | 10980 bytes | July 28 2025 08:07:09. | |
blib.pm | File | 2086 bytes | July 28 2025 08:07:09. | |
bytes.pm | File | 3754 bytes | July 28 2025 08:07:09. | |
bytes_heavy.pl | File | 758 bytes | July 28 2025 08:07:09. | |
charnames.pm | File | 20867 bytes | July 28 2025 08:07:09. | |
deprecate.pm | File | 3079 bytes | July 28 2025 08:07:09. | |
diagnostics.pm | File | 19038 bytes | July 28 2025 08:07:09. | |
dumpvar.pl | File | 15555 bytes | July 28 2025 08:07:09. | |
feature.pm | File | 17085 bytes | July 28 2025 08:07:09. | |
fields.pm | File | 9489 bytes | July 28 2025 08:07:09. | |
filetest.pm | File | 4003 bytes | July 28 2025 08:07:09. | |
if.pm | File | 3340 bytes | July 28 2025 08:07:09. | |
integer.pm | File | 3254 bytes | July 28 2025 08:07:09. | |
less.pm | File | 3204 bytes | July 28 2025 08:07:09. | |
locale.pm | File | 4855 bytes | July 28 2025 08:07:09. | |
meta_notation.pm | File | 2117 bytes | July 28 2025 08:07:09. | |
open.pm | File | 8021 bytes | July 28 2025 08:08:32. | |
overload.pm | File | 53314 bytes | July 28 2025 08:07:09. | |
overloading.pm | File | 1808 bytes | July 28 2025 08:07:09. | |
perl5db.pl | File | 316420 bytes | July 28 2025 08:07:09. | |
sigtrap.pm | File | 7606 bytes | July 28 2025 08:07:09. | |
sort.pm | File | 6081 bytes | July 28 2025 08:07:09. | |
strict.pm | File | 4738 bytes | July 28 2025 08:07:09. | |
subs.pm | File | 848 bytes | July 28 2025 08:07:09. | |
utf8.pm | File | 9116 bytes | July 28 2025 08:07:09. | |
utf8_heavy.pl | File | 31615 bytes | July 28 2025 08:07:09. | |
vars.pm | File | 2414 bytes | July 28 2025 08:07:09. | |
vmsish.pm | File | 4313 bytes | July 28 2025 08:07:09. | |
warnings.pm | File | 44756 bytes | July 28 2025 08:07:09. |
package vmsish; our $VERSION = '1.04'; =head1 NAME vmsish - Perl pragma to control VMS-specific language features =head1 SYNOPSIS use vmsish; use vmsish 'status'; # or '$?' use vmsish 'exit'; use vmsish 'time'; use vmsish 'hushed'; no vmsish 'hushed'; vmsish::hushed($hush); use vmsish; no vmsish 'time'; =head1 DESCRIPTION If no import list is supplied, all possible VMS-specific features are assumed. Currently, there are four VMS-specific features available: 'status' (a.k.a '$?'), 'exit', 'time' and 'hushed'. If you're not running VMS, this module does nothing. =over 6 =item C<vmsish status> This makes C<$?> and C<system> return the native VMS exit status instead of emulating the POSIX exit status. =item C<vmsish exit> This makes C<exit 1> produce a successful exit (with status SS$_NORMAL), instead of emulating UNIX exit(), which considers C<exit 1> to indicate an error. As with the CRTL's exit() function, C<exit 0> is also mapped to an exit status of SS$_NORMAL, and any other argument to exit() is used directly as Perl's exit status. =item C<vmsish time> This makes all times relative to the local time zone, instead of the default of Universal Time (a.k.a Greenwich Mean Time, or GMT). =item C<vmsish hushed> This suppresses printing of VMS status messages to SYS$OUTPUT and SYS$ERROR if Perl terminates with an error status, and allows programs that are expecting "unix-style" Perl to avoid having to parse VMS error messages. It does not suppress any messages from Perl itself, just the messages generated by DCL after Perl exits. The DCL symbol $STATUS will still have the termination status, but with a high-order bit set: EXAMPLE: $ perl -e"exit 44;" Non-hushed error exit %SYSTEM-F-ABORT, abort DCL message $ show sym $STATUS $STATUS == "%X0000002C" $ perl -e"use vmsish qw(hushed); exit 44;" Hushed error exit $ show sym $STATUS $STATUS == "%X1000002C" The 'hushed' flag has a global scope during compilation: the exit() or die() commands that are compiled after 'vmsish hushed' will be hushed when they are executed. Doing a "no vmsish 'hushed'" turns off the hushed flag. The status of the hushed flag also affects output of VMS error messages from compilation errors. Again, you still get the Perl error message (and the code in $STATUS) EXAMPLE: use vmsish 'hushed'; # turn on hushed flag use Carp; # Carp compiled hushed exit 44; # will be hushed croak('I die'); # will be hushed no vmsish 'hushed'; # turn off hushed flag exit 44; # will not be hushed croak('I die2'): # WILL be hushed, croak was compiled hushed You can also control the 'hushed' flag at run-time, using the built-in routine vmsish::hushed(). Without argument, it returns the hushed status. Since vmsish::hushed is built-in, you do not need to "use vmsish" to call it. EXAMPLE: if ($quiet_exit) { vmsish::hushed(1); } print "Sssshhhh...I'm hushed...\n" if vmsish::hushed(); exit 44; Note that an exit() or die() that is compiled 'hushed' because of "use vmsish" is not un-hushed by calling vmsish::hushed(0) at runtime. The messages from error exits from inside the Perl core are generally more serious, and are not suppressed. =back See L<perlmod/Perl Modules>. =cut my $IsVMS = $^O eq 'VMS'; sub bits { my $bits = 0; my $sememe; foreach $sememe (@_) { # Those hints are defined in vms/vmsish.h : # HINT_M_VMSISH_STATUS and HINT_M_VMSISH_TIME $bits |= 0x40000000, next if $sememe eq 'status' || $sememe eq '$?'; $bits |= 0x80000000, next if $sememe eq 'time'; } $bits; } sub import { return unless $IsVMS; shift; $^H |= bits(@_ ? @_ : qw(status time)); my $sememe; foreach $sememe (@_ ? @_ : qw(exit hushed)) { $^H{'vmsish_exit'} = 1 if $sememe eq 'exit'; vmsish::hushed(1) if $sememe eq 'hushed'; } } sub unimport { return unless $IsVMS; shift; $^H &= ~ bits(@_ ? @_ : qw(status time)); my $sememe; foreach $sememe (@_ ? @_ : qw(exit hushed)) { $^H{'vmsish_exit'} = 0 if $sememe eq 'exit'; vmsish::hushed(0) if $sememe eq 'hushed'; } } 1;
SILENT KILLER Tool