Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Changing data in a directory

by oaklander (Acolyte)
on Feb 05, 2002 at 13:53 UTC ( #143437=note: print w/replies, xml ) Need Help??


in reply to Re: Changing data in a directory
in thread Changing data in a directory

Thanks for the additional info. Now everything works. Reference your script I would like to learn more about how it works. Can you please explain what is going on in this script? I am not familiar with this part:
my @files = map { "$dir/$_" } grep !/^\.{1,2}$/, readdir(DIR);
And I need some guidance on what the script is doing here:
truncate(FILE,0) || die "truncate - $file : $!\n";; seek( FILE,SEEK_SET,0) || die "seek - $file : $!\n";
Thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2023-09-26 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?