File::Searcher v.0.91

Advertisement
Advertisement

File::Searcher is a searches for files and performs search/replacements on matching files. SYNOPSIS use File::Searcher, my $search = File::Searcher->new(*.cgi), $search->add_expression(name=>street, search=>1234 Easy St., replace=>456 Hard Way, options=>i), $search->add_expression(name=>department, search=>(Dept.|Department)(s+)(d+), replace=>$1$2$3, options=>im), $search->add_expression(name=>place, search=>Portland, OR(.*?)97212, replace=>Vicksburg, MI${1}49097, options=>is), $search->start, # $search->interactive, SEE File::Searcher::Interactive @files_matched = $search->files_matched, print "Files Matchedn", print "t" . join("nt", @files_matched) . "n", print "Total Files:t" . $search->file_cnt . "n", print "Directories:t" . $search->dir_cnt . "n", my @files_replaced = $search->expression(street)->files_replaced, my @files_replaced = $search->expression($expression)->files_replaced, my %matches = $search->expression(street)->matches, my %replacements = $search->expression(street)->replacements, File::Searcher allows for the traversing of a directory tree for files matching a Perl regular expression. When a match is found, the statistics are stored and if the file is a text file a series of searches and replacements can be performed. File::Searcher has options that allow for backing-up / archiving files and has OO access to reporting and statistics of matches and replacements.

File::Searcher is a searches for files and ...

 
  • File::Searcher
  • 0.91
  • Adam Stubbs
  • Any Platform
  • Perl Artistic
  • 9 Kb
  • 140
 
 

Review File::Searcher

  • captcha
 
 
New Components & Libraries software
  • SentiVeillance SDK Trial  v.6.0.176566Real-time biometric face recognition and pedestrian/vehicle tracking SDK for surveillance systems and networks. Supports up to 10 cameras on one PC. Automatic identification against watch list, gender/emotions detection. See: youtu.be/Jpt5jE5rwCQ ...
  • File Viewer  v.7.0File Viewer is a Disk Management Utility in combination with a viewer. Search your Computer for Pictures, Sounds, Music, Documents, Database, Spread Sheets, and Audio-Video Files. You can View, Print, or Send and Receive Files over the internet using ...
  • FileBackup for Linux  v.5.90FileBackup is an easy-to-use backup and restore utility with graphical user interface. It supports patch backups, soft and hard links, able to backup on removables, CD/DVD, FTP server or Tape unit. You can easily teach the program how to do the hard ...