Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ppix::regexp::token::grouptype::code(3pm) [debian man page]

PPIx::Regexp::Token::GroupType::Code(3pm)		User Contributed Perl Documentation		 PPIx::Regexp::Token::GroupType::Code(3pm)

NAME
PPIx::Regexp::Token::GroupType::Code - Represent one of the embedded code indicators SYNOPSIS
use PPIx::Regexp::Dumper; PPIx::Regexp::Dumper->new( 'qr{(?{print "hello world! ")}smx' ) ->print(); INHERITANCE
"PPIx::Regexp::Token::GroupType::Code" is a PPIx::Regexp::Token::GroupType. "PPIx::Regexp::Token::GroupType::Code" has no descendants. DESCRIPTION
This method represents one of the embedded code indicators, either '?' or '??', in the zero-width assertion (?{ print "Hello, world! " }) or the old-style deferred expression syntax my $foo; $foo = qr{ foo (??{ $foo }) }smx; METHODS
This class provides no public methods beyond those provided by its superclass. 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::Token::GroupType::Code(3pm)

Check Out this Related Man Page

PPIx::Regexp::Token::GroupType::Assertion(3pm)		User Contributed Perl Documentation	    PPIx::Regexp::Token::GroupType::Assertion(3pm)

NAME
PPIx::Regexp::Token::GroupType::Assertion - Represent a look ahead or look behind assertion SYNOPSIS
use PPIx::Regexp::Dumper; PPIx::Regexp::Dumper->new( 'qr{foo(?=bar)}smx' ) ->print(); INHERITANCE
"PPIx::Regexp::Token::GroupType::Assertion" is a PPIx::Regexp::Token::GroupType. "PPIx::Regexp::Token::GroupType::Assertion" has no descendants. DESCRIPTION
This class represents the parenthesized look ahead and look behind assertions. METHODS
This class provides no public methods beyond those provided by its superclass. 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::Token::GroupType::Assertion(3pm)
Man Page

14 More Discussions You Might Find Interesting

1. Programming

Bad Mortgage Calculation Code

Hello, I'm teaching myself C and attempting to write a little program that will calculate the monthly payments on a fixed-rate mortage: /* Aaron's mortgage foo */ // mortgage.c #include <stdio.h> #include <math.h> int main(void) { float interestRate; // The bank's fixed... (6 Replies)
Discussion started by: Aaron Van
6 Replies

2. Programming

dlopen help

//foo.c #include<stdio.h> int pen(int a) { printf("%d",a); } $cc -c foo.c $ls -shared -o libfoo.so foo.o ///////////now libfoo.so formed //i have already designed libfoo.so //main.c #include<stdio.h> #include <dlfcn.h> int main() { (2 Replies)
Discussion started by: lookforlohith
2 Replies

3. Shell Programming and Scripting

Converting Perl code to shell

I have a perl code that runs like Code I sub p { if ($d >= $D) {return} printf "%3s"x$d++," "; printf "%s%s\n",$_,$h{$_}?" ** ":""; if (!$h{$_}) { $h{$_}=1; map {p($_)} @{$s{$_}} } $d-- } ($Set,$Job,$Num,$D) = (@ARGV); map {shift} 0..3; (8 Replies)
Discussion started by: zainravi
8 Replies

4. Red Hat

Concatenating variables

Hi all, I'm trying to do a very simple script, as you can see as follow: #!/bin/bash #Valorizzazione Token presenti nel file di properties var_path_weblogic="`cat weblogic.properties | grep "dir_wl" | /usr/xpg4/bin/awk '{print $3}'`" var_ip_address="`cat... (5 Replies)
Discussion started by: idro
5 Replies

5. Shell Programming and Scripting

Help with Regexp replace in vim/sed

Hi! I have a file with multiple lines following this format: <a href="xxx.aaa_bbb_ccc.yyy">xxx.aaa_bbb_ccc.yyy</a> The goal is to replace the title (not modifying the href) so the new lines looks like this: <a href="xxx.aaa_bbb_ccc.yyy">Aaa bbb ccc</a> The number of underscores in the... (2 Replies)
Discussion started by: ericjohansson
2 Replies

6. Shell Programming and Scripting

Perl syntax that I don't understand.

I'm just trying to confirm that I understand someone's code correctly. If someone has code that says: $foo ||= mysub(); I'm assuming that it means if $foo is nothing or undef, then assign it some value via mysub(). If I'm wrong on this, please let me know. Also, what's the difference... (4 Replies)
Discussion started by: mrwatkin
4 Replies

7. UNIX for Dummies Questions & Answers

substitute (')

I usually use : Code: awk '{gsub(/xxx/,"yyy");print}' to substitute xxx with yyy. I have a problem substitute an expression like Code: x ' y Because of the ( ' ) Any idea on how to get over this problem? Thanks (2 Replies)
Discussion started by: cosmologist
2 Replies

8. Shell Programming and Scripting

print non empty column/field value

I have below file 25-09-2012 24-09-2012 19-09-2012 31-07-2012 30-04-2012 30-03-2012 ASIAEXFVNV N/A CEU 4 DMIRSOA N/A CAS 2 2 2 DMIRSOA N/A MIDMT 2 NFIAL22 N/A HVNY 11 11 11 NFIAL22 N/A NYAL3 11 11 11 NFIAL22 N/A NYCN 11 11 11 ... (4 Replies)
Discussion started by: manas_ranjan
4 Replies

9. Shell Programming and Scripting

Check

echo "2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180 2012-12-29--13.3637 2012-12-30--13.7091" the set of numbers i provided above is separated by spaces. how do i count how many sets there are? i tried: echo "2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180... (5 Replies)
Discussion started by: SkySmart
5 Replies

10. Shell Programming and Scripting

Regexp

I would like to extract "1333 Fairlane" given the below text. The word "Building:" is always present. The wording between Building and the beginning of the address can be almost anything. It appears the the hyphen is there most of the time. Campus: Fairlane Business Park Building:... (9 Replies)
Discussion started by: bbaker@copesan.
9 Replies

11. UNIX for Dummies Questions & Answers

Help in backreferences

# cat file Hello world Hello earth "Hello" world hello world 'hello' hello "world" hello 'world' hello hello hello hello helloTarget :- For more than one occurence of hello # grep "\(hello\).*\1" file "Hello" world hello world 'hello' hello hello hello hello hello Target:- match... (5 Replies)
Discussion started by: shellscripting
5 Replies

12. How to Post in the The UNIX and Linux Forums

Help: code

Why am i getting notifications to use codes? What are they ? How to choose a Code? What is their purpose? Regards, Chandu (2 Replies)
Discussion started by: chandrakanth
2 Replies

13. UNIX for Beginners Questions & Answers

Query on Code

Hi All, Can some one please explain the below code. Especially the %,* How it renaming the files and removing last field for file in *.gz.* do echo mv $file ${file%\.*} done i/p abcd.gz.20151011.1 o/p abcd.gz.20151011 (3 Replies)
Discussion started by: nag_sathi
3 Replies

14. UNIX for Beginners Questions & Answers

Versioning up a file with initials?

I have this code that works great ... #!/bin/sh for file in "$@" do ext=${file##*.} base=${file%.*} num=${base##*v} zeroes=${num%%*} num=${num#$zeroes} #remove leading zeros, or it uses octal num=$((num+1)) base=${base%v*} ... (5 Replies)
Discussion started by: scribling
5 Replies