Query: padre::transform
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Padre::Transform(3pm) User Contributed Perl Documentation Padre::Transform(3pm)NAMEPadre::Transform - Padre Document Transform APIDESCRIPTIONThis is the base class for the Padre transform API. I'll document this more later... -- Adam KMETHODSnew A default constructor for transform objects. Takes arbitrary key/value pair parameters and returns a new object. scalar_delta my $delta = $transform->scalar_delta($input_ref); The "scalar_delta" method takes a reference to a "SCALAR" as the only parameter and changes the document. If the transform class does not implement a "scalar_delta" itself the default implementation will pass the call through to "scalar_scalar" and then convert the result to a Padre::Delta object itself. Returns a new Padre::Delta as output, or throws an exception on error. scalar_scalar my $output_ref = $transform->scalar_scalar($input_ref); The "scalar_scalar" method takes a reference to a "SCALAR" as the only parameter and changes the document. Returns a new reference to a "SCALAR" as output, false if there is no change to the document, or throws an exception on error. COPYRIGHT & LICENSE Copyright 2008-2012 The Padre development team as listed in Padre.pm. 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.14.2 2012-06-27 Padre::Transform(3pm)
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
How can I do this in VI editor? |
Detecting unused variables... |
New UNIX and Linux History Sections |