two choices that I can think of: 1. sshfs for windows. The name is DokanSSHFS. With this, you can directly open the file in the US in windows explorer as if it's locally on your machine. Note, have used Dokan once in a while, so I can' comment it's performance if you used it heavily.
2. custom script + ssh. You can do scripting where you strip all windows relevant information, and send to the remote site via scp. regards, Andre | http://www.varon.ca On Mon, Dec 1, 2008 at 1:39 AM, Ludwig Isaac Lim <[EMAIL PROTECTED]> wrote: > > Hi: > > Scenario: > The deployment server (in Unix) is somewhere in United Stated. Using ssh / > vi (no VIM, yuck) > to edit CGI scripts is inefficient due to the distance not to mention I have > to use vi (VIM is > fine). But the machine in my office is running on Windows XP. I already > have an Apache / Perl in > my Windows machine, and I can execute Perl CGI on my Windows Apache Server. > > Problem: > Everytime I want to deploy, I need to change the following lines: > #!C:/Perl/bin/Perl # Windows XP > > to > #!/opt/perl/bin/perl # Unix > > > Is there a better way of doing it, short of reformatting my PC to Linux > (Not allowed)? :) > > Question #2: > Similar to above question, Is there a way of doing the following: > > > BEGIN > { > if ( platform is Unix/Linux) { > push @INC, "....."; # add Unix path to @INC > elsif (platform is Windows) { > push @INC< "...."; # add Windows path to @INC > } > > Regards, > Ludwig _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

