I have a template that I usually use to generate stats on an hourly basis for a number of cell sites altogether. I would like to be able to write a script that would go to the template and extract the information for any single site at any time during the day. For example, let's say that my... (4 Replies)
Hi,
i have a line with several fields (indefinite number of - count varies) separated by colon.
Now, i need to pick each field (except the first one) and have it assigned to variable within a loop. In other words, in the first iteration of the loop, the variable must be assigned with 2nd... (2 Replies)
Hello All,
This is my first post on this forums, which I consider one of the best of its kind. The reason for my post is that I want to export some information form Nagios configuration files to a DB. I know that there are other tools available to do this, like NDO, monarch, etc... But I want to... (3 Replies)
Hello there,
I am trying to extract (string) information ( a list words) from 4 files and then put the results into 1 file. Currently I am doing this using grep -f list.txt file1 . and repeat the process for the other 3 files. The reasons i am doing that (a) I do know how to code (b) each file... (4 Replies)
I need to analyse some syslogs and I want to print out all the lines containing SSH connections to the inside interface of the firewall and ignore lines where the originating port is 22. So basically I want to print all matches after "to inside:" that contains /22 and ignore lines where /22 occur... (2 Replies)
Hi there!
Well, I'm writing a script to obtain certain information about files. Specifically, I want to get the information about those files which last access were in the last 24 hours, so I'm doing something like this:
find <directory_name> -atime -1 -printf '%f %a\n'
I would also... (4 Replies)
I want to write a script that extracts a value from a line of text. I know it can be done using awk but I've never used awk before so I don't know how to do it. The text is:
Mem: 100M Active, 2150K Cache, 500M Buf, 10G Free
I want to extract the free memory value to use as a variable. In... (5 Replies)
Dear Experts,
I need your help here. I have lot of teradata DDL's as follows, i want to extract field names , field attributes and NOT NULL information from DDL.Could you please help here.
Sample DDL:
CREATE MULTISET TABLE APS_CALL_IN_PICKUP_CANCELED ,NO FALLBACK ,
NO BEFORE... (2 Replies)
Hi,
I am trying to extract information from a XML file and write it to a excel sheet. I am not sure where to start from. Here is the content from my input XML file.
<com.cloudbees.hudson.plugins.folder.properties.FolderProxyGroupContainer plugin="nectar-rbac@4.5">
<groups>
... (4 Replies)
Discussion started by: Sajjadmehdi
4 Replies
LEARN ABOUT DEBIAN
cpanplus::module::author
CPANPLUS::Module::Author(3perl) Perl Programmers Reference Guide CPANPLUS::Module::Author(3perl)NAME
CPANPLUS::Module::Author - CPAN author object for CPANPLUS
SYNOPSIS
my $author = CPANPLUS::Module::Author->new(
author => 'Jack Ashton',
cpanid => 'JACKASH',
_id => INTERNALS_OBJECT_ID,
);
$author->cpanid;
$author->author;
$author->email;
@dists = $author->distributions;
@mods = $author->modules;
@accessors = CPANPLUS::Module::Author->accessors;
DESCRIPTION
"CPANPLUS::Module::Author" creates objects from the information in the source files. These can then be used to query on.
These objects should only be created internally. For "fake" objects, there's the "CPANPLUS::Module::Author::Fake" class.
ACCESSORS
An objects of this class has the following accessors:
author
Name of the author.
cpanid
The CPAN id of the author.
email
The email address of the author, which defaults to '' if not provided.
parent
The "CPANPLUS::Internals::Object" that spawned this module object.
METHODS
$auth = CPANPLUS::Module::Author->new( author => AUTHOR_NAME, cpanid => CPAN_ID, _id => INTERNALS_ID [, email => AUTHOR_EMAIL] )
This method returns a "CPANPLUS::Module::Author" object, based on the given parameters.
Returns false on failure.
@mod_objs = $auth->modules()
Return a list of module objects this author has released.
@dists = $auth->distributions()
Returns a list of module objects representing all the distributions this author has released.
CLASS METHODS
accessors ()
Returns a list of all accessor methods to the object
perl v5.14.2 2014-09-29 CPANPLUS::Module::Author(3perl)