Padre::Help(3pm) User Contributed Perl Documentation Padre::Help(3pm)NAME
Padre::Help - Padre Help Provider API
DESCRIPTION
The "Padre::Help" class provides a base class, default implementation and API documentation for help provision support in Padre.
In order to setup a help system for a document type called "XYZ" one has to do the following: Create a module called "Padre::Help::XYZ"
that subclasses the "Padre::Help" module and override 3 methods: "help_init", "help_list" and "help_render".
In the class representing the Document ("Padre::Document::XYZ") one should override the "get_help_provider" method and return an object of
the help provide module. In our case it should contain
require Padre::Help::XYZ;
return Padre::Help::XYZ->new;
(TO DO: Maybe it should only return the name of the module)
The "help_init" method is called by the new method of "Padre::Help" once for every document of "XYZ" kind. (TO DO: maybe it should be only
once for every document type, and not once for every document of that type).
"help_list" should return a reference to an array holding the possible strings the system can provide help for.
"help_render" is called by one of the keywords, it should return the HTML to be displayed as help and another string which is the location
of the help. Usually a path to a file that will be used in the title of the window.
perl v5.14.2 2012-06-27 Padre::Help(3pm)
Check Out this Related Man Page
Padre::PluginBuilder(3pm) User Contributed Perl Documentation Padre::PluginBuilder(3pm)NAME
Padre::PluginBuilder - Module::Build subclass for building Padre plug-ins
DESCRIPTION
This is a Module::Build subclass that can be used in place of Module::Build for the "Build.PL" of Padre plug-ins. It adds two new build
targets for the plug-ins:
ADDITIONAL BUILD TARGETS
"plugin"
Generates a .par file that contains all the plug-in code. The name of the file will be according to the plug-in class name:
"Padre::Plugin::Foo" will result in Foo.par.
Installing the plug-in (for the current architecture) will be as simple as copying the generated .par file into the "plugins" directory of
the user's Padre configuration directory (which defaults to ~/.padre on Unix systems).
"installplugin"
Generates the plug-in .par file as the "plugin" target, but also installs it into the user's Padre plug-ins directory.
SEE ALSO
Padre, Padre::Config
Module::Build
PAR for more on the plug-in system.
COPYRIGHT
Copyright 2008-2012 The Padre development team as listed in Padre.pm.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
perl v5.14.2 2012-06-27 Padre::PluginBuilder(3pm)
Hi All,
I am zipping a file using
gzip -cq XYZ.txt > XYZ.txt.gz command.
file got created with name XYZ.txt.gz
but when i execute the following command i am getting errors,
$ gzip -t XYZ.txt.gz
gzip: XYZ.txt.gz: invalid compressed data--crc error
gzip: XYZ.txt.gz: invalid... (6 Replies)
Hi All,
I have a small problem, hope you can help me out here.
I have a file that contains the same format of lines in 99% of the cases.
906516 XYZ.NNN V 0000 20070711164648 userID1 userID2 hostname 20070711164641
There are unfortunately several lines with these... (5 Replies)
I need to split a file into n number of files but with one condition.
Similar field 1 lines should end up in a single file.
Eg:
XYZ|sdfwe|fsd|SDFDW
ABC|sdfdsf|werw|ASD
ZXC|awrwe|wrfwe|WEq
XYZ|werwe|QWEQW|SADQ
SER|asq|SADEW|AS|asa
ABC|asdwq|sdad|SAdf
BCG|dfg|sdfa|fgdsf
if n=2
file1:... (8 Replies)
Hi All,
I have a ',' delimited file and i would like concatenate a new value at a specific column.
Example :-
xXXX,XYZ,20071005,ABC,DEF,123
xXXX,XYZ,20071005,ABC,DEF,123
xXXX,XYZ,20071005,ABC,DEF,123
The output that i want is
xXXX,XYZ,20071005001,ABC,DEF,123... (7 Replies)
Hi,
I am upgrading a package on Solaris.
After upgradation, it changes it name to a <name>.2
eg. XYZ -> XYZ.2
XYZ no longer exists in pkginfo
Working on Solaris 8 sparc
Any idea's what's happening here?
Thanks (10 Replies)
Hi.
If I have files with names like abcd.20080625.1234.abc.XYZ abcd.20080625.1234.abc.XYZW
how can I get the XYZ or XYZW part? is there something like an Index() function but in reverse order?
I was thinking that if I can get the position of the last dot... (7 Replies)
Hi,
I have to grep a word 'XYZ' from 900 files ( from 2007 till date), take its count month wise. The output should display month, count , word 'XYZ' .
I tried searching the forum for solution but could find any.
I would apprieciate if any one can help me asap ....
Many Thanks:) (12 Replies)
Hi all,
I am trying to remove the words which has XYZ as a prt of that.
My input file is something like this :
PHNDAZLF-UPS-XYZ' aaaaaaa bbbbb
ADFRTEJKS-XYZ cccccccc ddddddd rrrrrr
SGETHEHDJ-ABC-RXY' hhhhh ttttt' kkkk
FHJSKSJDKD-XXX-YYY
Output expected is :
aaaaaaa... (7 Replies)
Hi,
How to swap two strings in a file ?
Ex: "ABC" to be swapped with "XYZ"
"ABC" and "XYZ" donot occur in a same line .
String has ""
Regards
Tej (8 Replies)
I have this kind of file
ABC UUIIIIIIIIIIII ,
HJHKJKL
XYZ HHJJJJJJMMM
ABC BBOOIO,
PPLIOJK
XYZ NMJKJKK
ABC MMMM
ABC OPOPO
XYZ LLKLKLL
I need to get all data from ABC till XYZ
so output should be
UUIIIIIIIIIIII (6 Replies)
Hi All,
Im new to shell scripting. I am running EgA.sh and setting one global variable XYZ=0 . Also calling another EgB.sh from EgA.sh, changing the value of XYZ=10
but after executing EgB.sh, value of XYZ is still 0. Im expecting it to be 10.
Anyone for help. Thanks in Advance. :) (5 Replies)
Hi,
I have a file with 2 columns
ABC 6
ABC 22
ABC 44
ABC 56
XYZ 12
XYZ 23
XYZ 42
DEF 2
DEF 14
DEF 24
What I want to do is for every unique entry in column 1 average the values in column 2
Thanks,
Diya (4 Replies)
Hi,
I have a file with fields like below:
A;XYZ;102345;222
B;XYZ;123243;333
C;ABC;234234;444
D;MNO;103345;222
E;DEF;124243;333
desired output:
C;ABC;234234;444
D;MNO;103345;222
E;DEF;124243;333
ie, if the 4rth field is a duplicate.. i need only those records where... (5 Replies)