Re: Example of using "use File::Remote " to copy files from one Windows machine to another

2008-04-01 Thread Kenneth Ă–lwing
> I need to copy files from a remote Windows machine to the Windows > machine were the Perl script is executing. > As always, reading the docs is useful. The notes section (at least on the 1.17 version on CPAN) says 'File::Remote only works on Unix'. Also, in the next paragraph it says 'The mai

Can a Perl script be called as a COM object?

2008-04-01 Thread Howard Maher
One of our possible vendors said that if Perl scripts can be callable COM objects, then we can interface with their engine. Does anyone know whether Perl scripts can be? The languages that they suggest are VB6, C++, and .NET... The Perl.NET project has pretty much been scrapped, correct? Th

Re: Can a Perl script be called as a COM object?

2008-04-01 Thread Michael Ellery
Howard Maher wrote: > One of our possible vendors said that if Perl scripts can be callable COM > objects, then we can interface with their engine. Does anyone know whether > Perl scripts can be? The languages that they suggest are VB6, C++, and > .NET... The Perl.NET project has pretty much

RE: Can a Perl script be called as a COM object?

2008-04-01 Thread Jan Dubois
On Tue, 01 Apr 2008, Howard Maher wrote: > One of our possible vendors said that if Perl scripts can be callable > COM objects, then we can interface with their engine. Does anyone know > whether Perl scripts can be? The languages that they suggest are VB6, > C++, and .NET... Perl code can be wrap

Newbie Question

2008-04-01 Thread Karl Anderson
Thank you in advance I am attempting to write a perl script to manipulate about 900 words of text in scite. I am passing the text to perl via "$(CurrentSelection)". My problem is how do I get such a large commandline argument into the script? k ___ Pe

Re: Newbie Question

2008-04-01 Thread Foo JH
You're trying to put in 900 arguments into the command line? Aren't you better off passing the filename into the command line? Karl Anderson wrote: > Thank you in advance > > I am attempting to write a perl script to manipulate about 900 words > of text in scite. > I am passing the text to perl

Re: Newbie Question

2008-04-01 Thread Karl Anderson
Thank you, Passing it as a file would be best, however it is selected text so I believe it is a long string. k Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___

Re: Newbie Question

2008-04-01 Thread Lim Ee Wah
Hi, Does SciTE allow you send the $(CurrentSelection) into STDIN pipe of your script? Example: system "echo $(CurrentSelection) | perl yourscript" Thanks. Ee Wah http://www.kopi-putih.blogspot.com On 4/2/08, Karl Anderson <[EMAIL PROTECTED]> wrote: > > > Thank you, > Passing it as a file would

RE: Newbie Question

2008-04-01 Thread Stuart Arnold
A different approach: Win32::Clipboard; which will get the current selection. ex (snippet of some old code): use Win32::Clipboard; my $g_clip = Win32::Clipboard(); my $copied = $g_clip->Get(); print("SELECTED is:\n $copied\n" ); -Original Message- From: [EMAIL PROTECT