|Perl Monk, Perl Meditation|
Downloading from a Lotus Notes databaseby Toby80 (Novice)
|on Feb 11, 2005 at 20:36 UTC||Need Help??|
Toby80 has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to download a Lotus Notes database from a server. Thererfore I found the excellent program here. With this program I'm able to download all the files from this database.
My problem now is, that the database is build like this:
database -> folder -> subfolder1 -> subfolder2 -> files
... what can be easily done with the "if - question".
Now my idea was to insert another "foreach" loop after this "if - question" to check for the next sublevel of my database. Unfortunately a simple foreach my $subview (GetViews ($viewname)) creates an error like: Can't use string ("$viewname") as a HASH ref while "strict refs" in use at test.pl line XX.
Maybe someone can help me out with a good idea or simpely the syntax of the "foreach" loop ;-)
Thank you very much in advance
I'm using Perl v.5.8.4 under WinXP with Lotus Notes 5.0.11