Pod(3) User Contributed Perl Documentation Pod(3)NAME
Gimp::Pod - Evaluate pod documentation embedded in scripts.
SYNOPSIS
use Gimp::Pod;
$pod = new Gimp::Pod;
$text = $pod->format ();
$html = $pod->format ('html');
$synopsis = $pod->section ('SYNOPSIS');
$author = $pod->author;
@sections = $pod->sections;
DESCRIPTION
"Gimp::Pod" can be used to find and parse embedded pod documentation in gimp-perl scripts. At the moment only the formatted text can be
fetched, future versions might have more interesting features.
METHODS
new return a new Gimp::Pod object representing the current script or undef, if an error occured.
format([$format])
Returns the embedded pod documentation in the given format, or undef if no documentation can be found. Format can be one of 'text',
'html', 'man' or 'latex'. If none is specified, 'text' is assumed.
section($header)
Tries to retrieve the section with the header $header. There is no trailing newline on the returned string, which may be undef in case
the section can't be found.
author
blurb
description
copyright
Tries to retrieve fields suitable for calls to the register function.
sections
Returns a list of paragraphs found in the pod.
AUTHOR
Marc Lehmann <pcg@goof.com>
SEE ALSO perl(1), Gimp(1),
perl v5.8.0 2001-12-06 Pod(3)
Check Out this Related Man Page
PODSELECT(1) Perl Programmers Reference Guide PODSELECT(1)NAME
podselect - print selected sections of pod documentation on standard output
SYNOPSIS
podselect [-help] [-man] [-section section-spec] [file ...]
OPTIONS AND ARGUMENTS -help Print a brief help message and exit.
-man Print the manual page and exit.
-section section-spec
Specify a section to include in the output. See "SECTION SPECIFICATIONS" in Pod::Parser for the format to use for section-spec.
This option may be given multiple times on the command line.
file The pathname of a file from which to select sections of pod documentation (defaults to standard input).
DESCRIPTION
podselect will read the given input files looking for pod documentation and will print out (in raw pod format) all sections that match one
ore more of the given section specifications. If no section specifications are given than all pod sections encountered are output.
podselect invokes the podselect() function exported by Pod::Select Please see "podselect()" in Pod::Select for more details.
SEE ALSO
Pod::Parser and Pod::Select
AUTHOR
Please report bugs using <http://rt.cpan.org>.
Brad Appleton <bradapp@enteract.com>
Based on code for Pod::Text::pod2text(1) written by Tom Christiansen <tchrist@mox.perl.com>
perl v5.8.9 2009-04-13 PODSELECT(1)
hi. im very new to perl. is it possible to fill up a web form and submit it using perl? example, i would like to sign up for a yahoo account though a perl script (ofcourse, granting the "type the characters as shown in imgage" is absent)? (8 Replies)
hi
Is there any way to automatically insert a predefined header into a file?
It would include the file name, author name, date and a description, the description entered on the first line of vi.
Thanks for any help
Oliver (4 Replies)
I have a file that has a header followed by 8 columns of data. I want to toss out the header, and then write the data to another file with a different header and footer. I also need to grab the first values of the first and second column to put in the header.
How do I chop off the header? ... (9 Replies)
Hi,
I have a line where i need to get certain part of it.. example..
text txt tt: 1909
thats how exactly it looks and all spaces are to be counted.. i need to retrieve 1909..
Thanks (11 Replies)
Hi All,
I have a file of the following format.
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user... (5 Replies)
Can someone guide me on how to write a small script to create a text file with non-sense text, i.e. lorem ipsum... I would like it with about 5 paragraphs but I have no idea on how to perfrom that. Any help will be much appreciated.
Thanks, (5 Replies)
hi all,
i have a file that contains the following kind of data
codeexpert_package_module1.html
codeexpert_package_module2.html
codeexpert_package_module3_revision2.html
and it goes on ..
i need to get the following data from it
package_module1
package_module2
i know basename... (4 Replies)
Hello. I've been writing some code in Perl to read in strings from html files and have been having issues. In the html file, each "paragraph" is a certain file on the website. I need to find every one of the files that is a certain type, in this case, having green color....therefore... (7 Replies)
Hello all,
I'm trying to break down a file with the following format:
entries
dzdf
daff
enries
dfln
fnljfd
.
.
..
.
I'm reading this file, using "[" as my separator. It's working quite well, but I would like to be able to read the "[" character into my array as a valid... (4 Replies)
Hi
I have an expression that returns 1 if a text is found and 0 if its not found.
I need it the other way around. 0 of found and 1 if its not found
echo $((`cat /var/log/system1/output.html | grep aligment | head -n1 | wc -l`))
Is this possible without doing an if/then/else, just... (5 Replies)
Hi Techies
I have written a script which is collecting the logs of job running on server and let mail me the output.
I want to format column of output, please help.
CCMS_BAU_from_CACHE RUN
ETL_SUBSITE_TO_SITE_BAU RUN
GetClient_Prep_Main RUN
MDM_Client_BAU RUN
Sweeper RUN... (11 Replies)
Hi Experts,
Anybody out there figure out on how to achieve in shell scripts or tools. I have done googling to find solutions but no luck.
I have thousands of .txt files to batch process, please see the below sample text content after -------- start here --------. What I want to achieve is to... (10 Replies)
Hi All,
I have a written a script which sents the output in html format and displays it in the foreground. But for some reason it is displaying in raw html format in outlook 2013. What could be the reason. I am pasting the script as below:-
$ cat script.sh
#!/bin/bash
.... (4 Replies)
I need to sum values in text file in case duplicate row are present with same name and different value below is example of data in file i have and format i need.
Data in text file
20170308
PM,U,2
PM,U,1
PM,U, 113
PM,I,123
PM,U,123
DA,U 135
DA,I,113
DA,I,1
DA,U,22
20170309
PM,U,2... (6 Replies)
Hello, I have been trying to compile Gimp. To do so, I had to compile its dependencies Babl and Gegl. After doing so I use this command to try to compile it: ./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux/Gimp-2.6.0/... (6 Replies)