Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ppi::document::fragment(3) [centos man page]

PPI::Document::Fragment(3)				User Contributed Perl Documentation				PPI::Document::Fragment(3)

NAME
PPI::Document::Fragment - A fragment of a Perl Document DESCRIPTION
In some situations you might want to work with a fragment of a larger document. "PPI::Document::Fragment" is a class intended for this purpose. It is functionally almost identical to a normal PPI::Document, except that it is not possible to get line/column positions for the elements within it, and it does not represent a scope. METHODS
index_locations Unlike when called on a PPI::Document object, you should not be attempting to find locations of things within a PPI::Document::Fragment, and thus any call to the "index_locations" will print a warning and return "undef" instead of attempting to index the locations of the Elements. TO DO
Integrate this into the rest of PPI so it has actual practical uses. The most obvious would be to implement arbitrary cut/copy/paste more easily. SUPPORT
See the support section in the main module. AUTHOR
Adam Kennedy <adamk@cpan.org> COPYRIGHT
Copyright 2001 - 2011 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.16.3 2011-02-26 PPI::Document::Fragment(3)

Check Out this Related Man Page

PPI::Document::Fragment(3)				User Contributed Perl Documentation				PPI::Document::Fragment(3)

NAME
PPI::Document::Fragment - A fragment of a Perl Document DESCRIPTION
In some situations you might want to work with a fragment of a larger document. "PPI::Document::Fragment" is a class intended for this purpose. It is functionally almost identical to a normal PPI::Document, except that it is not possible to get line/column positions for the elements within it, and it does not represent a scope. METHODS
index_locations Unlike when called on a PPI::Document object, you should not be attempting to find locations of things within a PPI::Document::Fragment, and thus any call to the "index_locations" will print a warning and return "undef" instead of attempting to index the locations of the Elements. TO DO
Integrate this into the rest of PPI so it has actual practical uses. The most obvious would be to implement arbitrary cut/copy/paste more easily. SUPPORT
See the support section in the main module. AUTHOR
Adam Kennedy <adamk@cpan.org> COPYRIGHT
Copyright 2001 - 2011 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.18.2 2011-02-25 PPI::Document::Fragment(3)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

UNIX System Admin Document

Hi all I am trying to document my entire system (hardware/software/admin) Is there a template I could use for the purpose. This document will be the used by all System admins/ Management the company when they want to find out anyting about any of the servers we manage. If there is no such... (6 Replies)
Discussion started by: skotapal
6 Replies

2. UNIX for Dummies Questions & Answers

Teaching myself Here Document

I understand that a Here Document will redirect all of the lines between the beginning marker for the here document and the ending marker into the command specified just as if the text were coming from standard input. I am trying to understand the Here Document with this example: # Menu file... (3 Replies)
Discussion started by: ericelysia
3 Replies

3. UNIX for Dummies Questions & Answers

Splitting a line

I have a series of .txt files, that contain lines of text separated by the following string ==================== In some of the .txt files, the string ends with the word Document, leaving the string ==================Document. I would like to be able to split any such line and move the word... (16 Replies)
Discussion started by: spindoctor
16 Replies

4. Shell Programming and Scripting

Shell Scripted Document Management System

Over the past 4 -5 years, I have cobbled together a rudimentary 'Document Management System' for a school district I support using Linux Bash Shell scripts.. The purpose of the scripting was to supplement features of a Job Applicant Center that had very simplistic methods of handle file... (1 Reply)
Discussion started by: rmuledeer
1 Replies

5. Shell Programming and Scripting

perl inside shell script?

Hi UNIX Pros! Newbie here, I would like to ask if it is possible to use perl commands inside a shell script? i created a simple script which connects to oracle and run queries which the script saves to a separate .txt file for each query issued. What i want to do is to create a presentable and... (7 Replies)
Discussion started by: 4dirk1
7 Replies

6. Solaris

Where can I find Sun Documents? Document ID: 75970

I am looking for the below Document ID: Document ID: 75970 Title: "Simulating a Boot Drive Failure for Testing Purposes for Solstice DiskSuite, Solaris Volume Manager or Veritas Volume Manager" I tried searching on the web and Oracle and I cannot find this document; ever since Oracle... (2 Replies)
Discussion started by: Keepcase
2 Replies