in reply to Sharedrive and Perl

I'm getting some mixed messages here, Anish. at first, it appears that you are running this perl script using the executable in /usr/bin/perl which clearly indicates UN*X or a derivative thereof (since there is no real 'root' directory in the family of quality Microsoft products). Then, I see that you are using the standard WinSMB method of snatching a share from a host computer aptly named "sharedDrive". Other than closing your quotes, you might want to double-czech which OS you're running. Under UN*X, your '//' will never do what you want it to do. Perhaps if you supply more information or if you read up on the topic at hand, like open(), then you'll manage to fix the problem yourself.
AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.

Replies are listed 'Best First'.
(tye)RE: Sharedrive and Perl
by tye (Sage) on Nov 04, 2000 at 04:16 UTC

    I start all of my scripts with "#!/usr/bin/perl", even if they will only work under Win32. No reason to switch to a different she-bang line and for the many scripts that are portable, having a proper shebang line can come in handy.

            - tye (but my friends call me "Tye")