This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Perl and the fly likes Any Examples of using File::Tasks::Edit (Perl Module) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Perl
Bookmark "Any Examples of using File::Tasks::Edit (Perl Module)" Watch "Any Examples of using File::Tasks::Edit (Perl Module)" New topic
Author

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

Preston Thornton
Ranch Hand

Joined: Jun 24, 2008
Posts: 80
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

Joined: Oct 02, 2003
Posts: 11153
    
  16

I don't have any idea, but have you tried asking/searching on perlmonks?


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Preston Thornton
Ranch Hand

Joined: Jun 24, 2008
Posts: 80
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.
 
Consider Paul's rocket mass heater.
 
subject: Any Examples of using File::Tasks::Edit (Perl Module)
 
Similar Threads
Webspere 345 exam questions
IBM Exam 157 - Questions and Answers (Sample Exam)
157 Question Help and Resourses
ibm websphere test 157 for websphere studio application developer 4.0.3 for windows
IBM 157 ICE Sample Exam Answers