![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Network backup thingby DrZaius (Monk) |
on May 13, 2001 at 21:16 UTC ( [id://80062]=note: print w/replies, xml ) | Need Help?? |
Looking at this code makes me think life would be good with URI::SMB. This particular script would loose the
part. I would then use Getopts::Long to change the interface to something like:
If --smb was not set, it could check the env before dieing. And it would be really helpful if Filesys::SmbClientParser accepted one of these. Have you thought about use URI's for your db file? That way you can back up not just local files, but files on other smb hosts, webpages, ftp files or hunks of ldap. Well, anything that uri supports and has a client for.
In Section
Cool Uses for Perl
|
|