Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

package::constants(3pm) [centos man page]

Package::Constants(3pm) 				 Perl Programmers Reference Guide				   Package::Constants(3pm)

NAME
Package::Constants - List all constants declared in a package SYNOPSIS
use Package::Constants; ### list the names of all constants in a given package; @const = Package::Constants->list( __PACKAGE__ ); @const = Package::Constants->list( 'main' ); ### enable debugging output $Package::Constants::DEBUG = 1; DESCRIPTION
"Package::Constants" lists all the constants defined in a certain package. This can be useful for, among others, setting up an autogenerated "@EXPORT/@EXPORT_OK" for a Constants.pm file. CLASS METHODS
@const = Package::Constants->list( PACKAGE_NAME ); Lists the names of all the constants defined in the provided package. GLOBAL VARIABLES
$Package::Constants::DEBUG When set to true, prints out debug information to STDERR about the package it is inspecting. Helps to identify issues when the results are not as you expect. Defaults to false. BUG REPORTS
Please report bugs or other issues to <bug-package-constants@rt.cpan.org<gt>. AUTHOR
This module by Jos Boumans <kane@cpan.org>. COPYRIGHT
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself. perl v5.16.3 2013-02-26 Package::Constants(3pm)

Check Out this Related Man Page

Package::Constants(3pm) 				 Perl Programmers Reference Guide				   Package::Constants(3pm)

NAME
Package::Constants - List all constants declared in a package SYNOPSIS
use Package::Constants; ### list the names of all constants in a given package; @const = Package::Constants->list( __PACKAGE__ ); @const = Package::Constants->list( 'main' ); ### enable debugging output $Package::Constants::DEBUG = 1; DESCRIPTION
"Package::Constants" lists all the constants defined in a certain package. This can be useful for, among others, setting up an autogenerated "@EXPORT/@EXPORT_OK" for a Constants.pm file. CLASS METHODS
@const = Package::Constants->list( PACKAGE_NAME ); Lists the names of all the constants defined in the provided package. GLOBAL VARIABLES
$Package::Constants::DEBUG When set to true, prints out debug information to STDERR about the package it is inspecting. Helps to identify issues when the results are not as you expect. Defaults to false. BUG REPORTS
Please report bugs or other issues to <bug-package-constants@rt.cpan.org<gt>. AUTHOR
This module by Jos Boumans <kane@cpan.org>. COPYRIGHT
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself. perl v5.18.2 2014-01-06 Package::Constants(3pm)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Package Installation HELP!

To all, I have just installed a newer software package on one of our Performance testing AIX machine A. I later found out that this package didn't need to be installed on this machine cause it was a client and not a server package. I want to back out with pkgrm but the old package doesn't... (1 Reply)
Discussion started by: liketheshell
1 Replies

2. OS X (Apple)

Canot find library on compile - fixing PKG_CONFIG_PATH isn't working

I am using bash on OSX Leopard. When I attempt ./configure I get this error: checking for OPENSSL... configure: error: Package requirements (openssl) were not met: No package 'openssl' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a... (2 Replies)
Discussion started by: reasonstoprefer
2 Replies

3. Shell Programming and Scripting

Read Table,View,Package,Function and Procedure Name in a File

Hi I am new to Unix shell scripting. But i need help to slove the below issue. Issue description: I want to read table, view names and package names in a file my plan to find the table name is : search "From" key word find the table or view To find the packge name : Search "Package... (5 Replies)
Discussion started by: sboss
5 Replies

4. Solaris

Package needs to be installed for using pam_mkhomedir.so?

Hi, What is the necessary package that needs to be installed for using pam_mkhomedir.so in pam.conf file? And from where can i get that file? Is that package already shipped with Solaris 10? Because when i use that file i am getting "open_module: stat(/usr/lib/security/pam_mkhomedir.so)... (1 Reply)
Discussion started by: sathya47
1 Replies

5. OS X (Apple)

Where are package contents stored for a file, or why aren't they visible w/o right clicking the file

I was wondering about the "Show Package Contents" option in OS X. I have a keynote file that I'm looking at. Exactly where are these contents or its directory stored, because they aren't visible in the Finder window, unless I obviously right click and choose to view them. And I don't think I can... (2 Replies)
Discussion started by: Straitsfan
2 Replies

6. Shell Programming and Scripting

Change the file style to another version with awk

#cat myfile libgcc: Package > additional *crt*.o files for PPC libgcc: Package > additional *crt*.o files for PPC binutils: Default to n64 when configured for mips64 binutils: Default to n64 when configured for mips64 > gcc-4.6, gcc-4.7: Add support for building mips64 cross compi... (3 Replies)
Discussion started by: yanglei_fage
3 Replies

7. UNIX for Dummies Questions & Answers

Package release on UNIX environment

Hi, Can some one tell what is Package release on UNIX environment. Thanks, Nag (1 Reply)
Discussion started by: nag_sathi
1 Replies

8. AIX

List running services, Package name and status on AIX.

Hi, How can I list running services, corresponding package name and status on the AIX host? On Linux (Centos), I use the below code snippet:- for i in `chkconfig --list | awk '{ print $1}'`; do status=`/sbin/service $i status` packagename=`rpm -qf /etc/init.d/$i` done Is there... (2 Replies)
Discussion started by: Vipin Batra
2 Replies

9. UNIX for Advanced & Expert Users

Creating Installer and/or Package

I have an open source tool I am working on. As of right now, version 1 is complete but it's a set of programs in a directory. What I would like to do is create a flexible installer or package that puts things in the appropriate directories (/usr/bin ? ) or perhaps the user's personal bin directory... (7 Replies)
Discussion started by: tinypig
7 Replies

10. HP-UX

List running services, corresponding package name and status.

Hi, I am trying to list down list of running services, corresponding package name and status on HP-UX box. The output will be a CSV in a fashion:- Service Name, Package Name, Status. While working on Linux centos, I used chkconfig to do the same. Below was the snippet:- for i in `chkconfig... (3 Replies)
Discussion started by: Happy83
3 Replies

11. Programming

RHN Package List

We have a Redhat subscriptions and wanted to know how one could view the latest package name/list of a versions of RHEL 5,6,7. I am aware of getting what I need via: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Listing_Packages.html but is... (1 Reply)
Discussion started by: metallica1973
1 Replies

12. Shell Programming and Scripting

Linux From Scratch Permission Error when installing Binutils-2.27 Package

Hello, I recently decided to create a Linux Operating System from Scratch using the Linux from Scratch Guide. Everything was going great until it was time to finish installing the package Binutils-2.27. Once I entered "make install" into the terminal, I get this error: make: Entering directory... (4 Replies)
Discussion started by: LinuxPie42
4 Replies