Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: File::Monitor Question

by i5513 (Monk)
on Jan 10, 2012 at 20:01 UTC ( #947229=note: print w/ replies, xml ) Need Help??

in reply to File::Monitor Question

See File::Monitor::Delta sypnosis, like anonymous monk said "-> name" function


Comment on Re: File::Monitor Question
Re^2: File::Monitor Question
by Anonymous Monk on Jan 12, 2012 at 16:38 UTC
    OK, I'm getting closer. I changed the line above of
    print $file->name, " created\n";
    print $file->files_created, " created\n";
    and now it is printing the newly created file. Now I am having a problem getting the name of that file saved as a variable. I'm not experienced enough to understand how this thing works. I thought I could just do this:
    $new_file = $file->files_created
    But that doesn't work. How can I save that to a variable that I can work with?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://947229]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2015-05-24 05:24 GMT
Find Nodes?
    Voting Booth?

    In my home, the TV remote control is ...

    Results (471 votes), past polls