Text::Editor::Easy::Line

Object oriented interface to a file line.
Download

Text::Editor::Easy::Line Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sebastien Grommier
  • Publisher web site:
  • http://search.cpan.org/~grommier/Text-Editor-Easy-0.1/lib/Text/Editor/Easy/Comm.pm

Text::Editor::Easy::Line Tags


Text::Editor::Easy::Line Description

Object oriented interface to a file line. Text::Editor::Easy::Line is a Perl object oriented interface to a file line (managed in the background by "Text::Editor::Easy::Abstract" and "Text::Editor::Easy::File_manager").SYNOPSIS my $line = $editor->number(4); print "Initial text of line number 4 : ", $line->text, " "; $line->set('This will be the new content'); if ( ! $line->displayed ) { $line->display( {'at' => 'middle'} ); } $line->select;If we except the print, you could have done the same thing writing this horrible line : $editor->number(4)->set('This will be the new content')->select({'force' => 'middle'}); Requirements: · Perl


Text::Editor::Easy::Line Related Software