Padre::Task::IntroduceTemporaryVariable man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Padre::Task::IntroduceUseroContributPadre::Task::IntroduceTemporaryVariable(3)

NAME
       Padre::Task::IntroduceTemporaryVariable - Introduces a temporary
       variable using PPI

SYNOPSIS
	 my $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;

DESCRIPTION
       Given 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 ALSO
       This class inherits from "Padre::Task::PPI".

AUTHOR
       Steffen Mueller "smueller@cpan.org"

COPYRIGHT AND LICENSE
       Copyright 2008-2011 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.1			  20Padre::Task::IntroduceTemporaryVariable(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net