CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [jboy4] $Log->Read() -Multiple Files Help-: Edit Log



FishMonger
Veteran / Moderator

Jan 24, 2012, 2:45 PM


Views: 3098
Re: [jboy4] $Log->Read() -Multiple Files Help-

I have not looked at the code in detail, but start by changing:

Code
$log->read($file)

to:

Code
$log->read($dir/$file);


Also, change:

Code
$dir = 'C:\\Documents and Settings\\jordant\\Desktop\\Dump\\';

to:

Code
$dir = 'C:/Documents and Settings/jordant/Desktop/Dump';



(This post was edited by FishMonger on Jan 24, 2012, 2:47 PM)


Edit Log:
Post edited by FishMonger (Veteran) on Jan 24, 2012, 2:47 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives