Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^8: path-names [a very easy question of a true beginner]

by morgon (Curate)
on Oct 02, 2010 at 23:02 UTC ( #863119=note: print w/replies, xml ) Need Help??


in reply to Re^7: path-names [a very easy question of a true beginner]
in thread path-names [a very easy question of a true beginner]

This is probably beside the point, but instead of
my @files = File::Find::Rule->file() ->name('einzelergebnis*.html') ->in( '.' );
I would simply use
my @files = <einzelergebnis*.html>;
as all your files seem to be in one directory (which also seems to be your current working directory).

The difference is that your code would also find files that reside in a subdirectories - and that may or may not be what you want. (I would not want subdirs as I then could simply create a subdir and move files I want exclude from processing there but you may think differently about this - you just have to be aware of it).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://863119]
help
Chatterbox?
[marto]: clever stuff
[Corion]: marto: Thanks for pointing me to Tinc - I found at least some article that suggests that what I want would be possible with Tinc. Now I can try that out :)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2018-01-17 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (201 votes). Check out past polls.

    Notices?