Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ppix::regexp::structure::capture(3) [centos man page]

PPIx::Regexp::Structure::Capture(3)			User Contributed Perl Documentation		       PPIx::Regexp::Structure::Capture(3)

NAME
PPIx::Regexp::Structure::Capture - Represent capture parentheses. SYNOPSIS
use PPIx::Regexp::Dumper; PPIx::Regexp::Dumper->new( 'qr{(foo)}smx' ) ->print(); INHERITANCE
"PPIx::Regexp::Structure::Capture" is a PPIx::Regexp::Structure. "PPIx::Regexp::Structure::Capture" is the parent of PPIx::Regexp::Structure::NamedCapture. DESCRIPTION
This class represents capture parentheses. METHODS
This class provides the following public methods. Methods not documented here are private, and unsupported in the sense that the author reserves the right to change or remove them without notice. name my $name = $element->name(); This method returns the name of the capture buffer. Unless the buffer is actually named, this will be "undef". number my $number = $element->number() This method returns the number of the capture buffer. Note that named buffers have numbers also. SUPPORT
Support is by the author. Please file bug reports at <http://rt.cpan.org>, or in electronic mail to the author. AUTHOR
Thomas R. Wyant, III wyant at cpan dot org COPYRIGHT AND LICENSE
Copyright (C) 2009-2013 by Thomas R. Wyant, III This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. perl v5.16.3 2014-06-10 PPIx::Regexp::Structure::Capture(3)

Check Out this Related Man Page

PPIx::Regexp::Structure::NamedCapture(3pm)		User Contributed Perl Documentation		PPIx::Regexp::Structure::NamedCapture(3pm)

NAME
PPIx::Regexp::Structure::NamedCapture - Represent a named capture SYNOPSIS
use PPIx::Regexp::Dumper; PPIx::Regexp::Dumper->new( 'qr{(?<foo>foo)}smx' ) ->print(); INHERITANCE
"PPIx::Regexp::Structure::NamedCapture" is a PPIx::Regexp::Structure::Capture. "PPIx::Regexp::Structure::NamedCapture" has no descendants. DESCRIPTION
This class represents a named capture. Its content will be something like one of the following: (?<NAME> ... ) (?'NAME' ... ) (?P<NAME> ... ) METHODS
This class provides the following public methods. Methods not documented here are private, and unsupported in the sense that the author reserves the right to change or remove them without notice. name my $name = $element->name(); This method returns the name of the capture. SUPPORT
Support is by the author. Please file bug reports at <http://rt.cpan.org>, or in electronic mail to the author. AUTHOR
Thomas R. Wyant, III wyant at cpan dot org COPYRIGHT AND LICENSE
Copyright (C) 2009-2012 by Thomas R. Wyant, III This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. perl v5.14.2 2012-06-06 PPIx::Regexp::Structure::NamedCapture(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. AIX

Capture IP Adress

hello I need for a script to capture the ip address from the connected user. I have 5 logical partitions. With "who", i have the ip adress, but only for 2 servers. Do you know another command to know the ip address of connected clients ? thank you (14 Replies)
Discussion started by: pascalbout
14 Replies

2. Shell Programming and Scripting

Capture all the contents between two attributes

i have a file with contents test123 qwwww sdsad asdasd asdad adadsw sasfar sfaf a afasf OPERATION END i need to grep all the contents from test123 and OPERATION END.Can somebody help me how to do it ? (7 Replies)
Discussion started by: giri_luck
7 Replies

3. Shell Programming and Scripting

Capture two set of data to same line...simple

I would like to capture output from two commands to a test file on the same line... I want to get a file with all Applications and the Version of it...here are the two commands I use to get the output. To get Application list I use ls -1 /Applications/ |grep .app >>... (3 Replies)
Discussion started by: elbombillo
3 Replies

4. Shell Programming and Scripting

Capture only the new lines

Whenever job run i need to capture only the news in growing file(audit file)? How can we achieve this? (4 Replies)
Discussion started by: ford2020
4 Replies

5. Shell Programming and Scripting

Capture first N Bytes from first line in a file

Hi Guyz, I need to capture first N Bytes from the first line of my file. Eg. If i have following data in File1 414d51204541495052475731202020204a910846230e420c Hello 3621363663212 Help Required Then, i want the value of first 48 Bytes to be stored in a variable. That is, variable... (5 Replies)
Discussion started by: DTechBuddy
5 Replies

6. Shell Programming and Scripting

Capture time of File last created.

Hi .. I have a list of filenames in a particular file. All thse files get generated in the same directory. No w i want to find out which of thse got generated last and capture that time . Have written a while loop but seems getting struck ... while read line do if then rvst_capt_time=... (7 Replies)
Discussion started by: ultimatix
7 Replies

7. Shell Programming and Scripting

Need to Capture Sql Failures

Hi guys, I am inserting and updating records in Oracle database using shell Script based on business logic. Now Whenever the insert or Update fails, i want to capture it. i tried to capture the return code ($?), but it is not reflecting it.... (3 Replies)
Discussion started by: mac4rfree
3 Replies

8. Shell Programming and Scripting

Capture listed files from find command

Hi all, I am using command find $InputPath -type f -mtime +30 However, I need to capture the file listed in screen. May I know how to achieve this? Thank you. (12 Replies)
Discussion started by: ashly
12 Replies

9. Shell Programming and Scripting

Capture output of command triggered in background

Is there any way to trigger a sequence of commands in parallel and capture their output in variables? e.g. something on the following lines x=`echo "X" &` y=`echo "Y" &` z=`echo "Z" &` so that $x, $y, and $z evaluate to X, Y and Z res. (7 Replies)
Discussion started by: jawsnnn
7 Replies

10. Shell Programming and Scripting

Capture the value between brackets

Hi I am having hard time getting this right and need some help. I Have 3 files, and everyone contains the following:- File1 Today, we have Name(Jack) Age(19) Class (A2) Today, we have Name(Kim) Class (G9) File2 Today, we have Name(Lee) Age(19) Class (A2) Today, we have... (8 Replies)
Discussion started by: samsan
8 Replies

11. Shell Programming and Scripting

[All variants] remove first pair of parentheses

How to remove first pair of parentheses and content in them from the beginning of the line? Here's the list: (ok)-test (ok)-test-(ing) (some)-test-(ing)-test test-(ing) Desired result: test test-(ing) test-(ing)-test test-(ing) Here's what I already tried with GNU sed: sed -e... (6 Replies)
Discussion started by: useretail
6 Replies

12. Solaris

Capture PRSTAT

Is there any scripts to capture the process which use more than 5% CPU from prstat output? (9 Replies)
Discussion started by: tharmendran
9 Replies

13. Solaris

Capture PRSTAT based on CPU usage percentage

Hi, Recently i have write a simple script to capture CPU high usage based on prstat but i found out that it did capture correctly. I need to capture the rows that contains CPU usage more than 3%. Below line which i thought will capture CPU usage based CPU column in prstat(9th parameter) which is... (3 Replies)
Discussion started by: tharmendran
3 Replies

14. Shell Programming and Scripting

Capture the last record number using "awk" NR variable

Hi Team. I am trying to capture the last record number from a file using the below command ( assuming abc.txt has 21 records and I want 21 as output ) awk'{c=NR;print c}'abc.txt But it is printing all the record number. Can someone please help modify the above command? (8 Replies)
Discussion started by: chatwithsaurav
8 Replies

15. Shell Programming and Scripting

Capture std out snapshot after 15 seconds

I have a program that scans and updates its results to std out every second. I would like to capture its output for further processing, but there is a catch. I would like to capture a snapshot after about 15 seconds as the results become more accurate and close the program. Obviously I can simply... (4 Replies)
Discussion started by: Riker1204
4 Replies