- or download this
use POSIX;
- or download this
use POSIX qw< ceil floor >;
- or download this
> exports
Usage: exports [-a] [ Perl::Module [...] ] [ file [...] ]
...
If no module names are listed, then searches each file for
cases of 'use Perl::Module;' and suggests replacements.
-a: Searches for *any* exports, not just default ones.
- or download this
> grep POSIX ASAP/Client.pm
ASAP/Client.pm:use POSIX;
- or download this
> exports POSIX ASAP/Client.pm
ASAP/Client.pm:
107: strftime("%Y-%m-%dT%T$fs Z", gmtime($sec));
strftime
# use POSIX qw< strftime >;
- or download this
> exports bin/mktestcalls
bin/mktestcalls:
...
# use Sys::Hostname qw< hostname >;
# use Sys::Syslog qw< openlog syslog >;
# use Getopt::Long qw< GetOptions >;
- or download this
> grep use bin/mktestcalls
use strict;
...
use Sys::Syslog;
use Sys::SigAction 'set_sig_handler';
use Getopt::Long;
- or download this
> exports -a List::Util lib/Track.pm
lib/Track.pm:
...
1867: # S() = max call duration in seconds
max
# use List::Util qw< max min shuffle >;
- or download this
> exports File::Basename File::Glob
File::Basename 2.78:
...
basename
dirname
File::Glob 1.07:
- or download this
> exports -a File::Basename File::Glob
File::Basename 2.78:
...
GLOB_NOSPACE
GLOB_QUOTE
GLOB_TILDE
- or download this
> exports POSIX exports
exports:
121: or die "Can't rewind handle to $file: $!\n";
rewind
# use POSIX qw< rewind >;
- or download this
> exports say
say:
# use Encode(); # Not used?
- or download this
> grep Encode say
use Encode;
} elsif( Encode::is_utf8($_) ) {
- or download this
#!/usr/bin/perl -w
use strict;
...
}
}
}