• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Any Examples of using File::Tasks::Edit (Perl Module)

 
Preston Thornton
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Perl Gang!

I was wondering if any has a simple example of using the File::Tasks::Edit Perl Module. I am working a script to edit a script in place using the (-i) option, but I wanted to see if there was other way to do so. I am coding a search algorithm to search the file to find confirm the desired string. In reviewing the CPAN information

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CPAN - File::Tasks::Edit - Search

Where this is what is available:



Sorry Adam, but I need something more in the line of an example to utilize your module. Anyone have one you are will to share.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12203
35
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have any idea, but have you tried asking/searching on perlmonks?
 
Preston Thornton
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I resolved my problem by returning the use of simple shell commands. So, within the script I just used `<shell commands> ` to get what I needed. Keep it simple I guess.

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic