Query: padre::task::lexicalreplacevariable
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Padre::Task::LexicalReplaceVariable(3pm) User Contributed Perl Documentation Padre::Task::LexicalReplaceVariable(3pm)NAMEPadre::Task::LexicalReplaceVariable - Lexically variable replace using PPISYNOPSISmy $replacer = Padre::Task::LexicalReplaceVariable->new( document => $document_obj, location => [ $line, $column ], # the position of *any* occurrence of the variable replacement => '$foo', ); $replacer->schedule;DESCRIPTIONGiven a location in the document (line/column), determines the name of the variable at this position, finds where the variable was defined, and lexically replaces all occurrences with another variable. The replacement can either be provided explicitly by the user (using the "replacement" option) or the user may set the "to_camel_case" or "from_camel_case" options. In that case the variable will be converted to/from camel case. With the latter options, "ucfirst" will force the upper-casing of the first letter (as is typical with global variables).SEE ALSOThis class inherits from "Padre::Task::PPI".AUTHORSteffen Mueller "smueller@cpan.org"COPYRIGHT AND LICENSECopyright 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 5 itself. perl v5.14.2 2012-06-27 Padre::Task::LexicalReplaceVariable(3pm)
Related Man Pages |
---|
padre::help(3pm) - debian |
padre::ppi::updatecopyright(3pm) - debian |
padre::plugin::yaml::document(3pm) - debian |
padre::task::lwp(3pm) - debian |
padre::transform(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Help Me Please |
Deleting the first line of .gz file |
wildcard in sed substitution |
substituting variable value in AWK |
Windows Task with Bash script |