Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

exports -- which module exports are used?

by tye (Cardinal)
on Sep 16, 2013 at 16:26 UTC ( #1054312=CUFP: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use POSIX;
    
  2. or download this
    use POSIX qw< ceil floor >;
    
  3. 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.
    
  4. or download this
     > grep POSIX ASAP/Client.pm
    ASAP/Client.pm:use POSIX;
    
  5. 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 >;
    
  6. or download this
     > exports bin/mktestcalls
    bin/mktestcalls:
    ...
    # use Sys::Hostname       qw< hostname >;
    # use Sys::Syslog         qw< openlog syslog >;
    # use Getopt::Long        qw< GetOptions >;
    
  7. or download this
     > grep use bin/mktestcalls
    use strict;
    ...
    use Sys::Syslog;
    use Sys::SigAction 'set_sig_handler';
    use Getopt::Long;
    
  8. 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 >;
    
  9. or download this
     > exports File::Basename File::Glob
    File::Basename 2.78:
    ...
        basename
        dirname
    File::Glob 1.07:
    
  10. or download this
     > exports -a File::Basename File::Glob
    File::Basename 2.78:
    ...
        GLOB_NOSPACE
        GLOB_QUOTE
        GLOB_TILDE
    
  11. or download this
     > exports POSIX exports
    exports:
       121:         or  die "Can't rewind handle to $file: $!\n";
                                   rewind
    # use POSIX               qw< rewind >;
    
  12. or download this
     > exports say
    say:
    # use Encode();           # Not used?
    
  13. or download this
     > grep Encode say
    use Encode;
            } elsif( Encode::is_utf8($_) ) {
    
  14. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
            }
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://1054312]
Approved by davido
Front-paged by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2015-07-02 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls