Query: padre::task::introducetemporaryvariable
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Padre::Task::IntroduceTemporaryVariable(3pm) User Contributed Perl Documentation Padre::Task::IntroduceTemporaryVariable(3pm)NAMEPadre::Task::IntroduceTemporaryVariable - Introduces a temporary variable using PPISYNOPSISmy $tempvarmaker = Padre::Task::IntroduceTemporaryVariable->new( document => $document_obj, start_location => [$line, $column], # or just character position end_location => [$line, $column], # or ppi-style location varname => '$foo', ); $tempvarmaker->schedule;DESCRIPTIONGiven a region of code within a statement, replaces that code with a temporary variable. Declares and initializes the temporary variable right above the statement that included the selected expression. Usually, you simply set "start_position" to what "$editor->GetSelectionStart" returns and "end_position" to "$editor->GetSelectionEnd - 1".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::IntroduceTemporaryVariable(3pm)
Similar Topics in the Unix Linux Community |
---|
How does the Kernal schedules Tasks? |
Task Coach 0.69.1 (Default branch) |
C code : Segmentation fault |
Linux Shell Script |
Windows Task with Bash script |