I'm sorry to fumble around the old question: wouldn't sending a filename
as a parameter be a more scalable solution, as opposed to squeezing in
stuff through command line?
If this function is to happen regularly (or concurrently for the
matter), you can create a temporary file as the file refer
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Karl Anderson
Sent: Tuesday, April 01, 2008 11:46 PM
To: Perl-Win32-Users@listserv.ActiveState.com
Subject: Re: Newbie Question
Thank you,
Passing it as a file would be best, however it is selected text so I
believe it is a long string
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
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
___
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
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
Hey Folks,
I have a newbie question for Win32::OLE. How do I use [out] parameters
within PERL?? What's the correct syntax for calling a COM method that
contains [out] parameters so the invoked object can store its data??
Thanks,
James
James H.
On Mon, 10 Feb 2003, Heberson Almeida wrote:
> HI all!!!
>
> I want to change some strings inside a HTML files, but I am trying to do this using
>a command listed for Perl for Unix.
>
> How can I change the string inside many html files using Perl for Win32 (5.6.X.X)???
>
You haven't provided en
HI all!!!
I want to change some strings inside a HTML files, but I am trying to do this using a
command listed for Perl for Unix.
How can I change the string inside many html files using Perl for Win32 (5.6.X.X)???
___
Perl-Win32-Users mailing
Rob,
Thank you very much! I got it worked !
Dawn
- Original Message -
From: "Sisyphus" <[EMAIL PROTECTED]>
To: "Dawn Sun" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, January 27, 2003 9:53 PM
Subject: Re: newbie question: about perl56 a
- Original Message -
From: "Laura Meli" <[EMAIL PROTECTED]>
To: "Perl-Win32-Users" <[EMAIL PROTECTED]>
Sent: Monday, November 11, 2002 07:41
Subject: Newbie Question
> Hi everyone,
>
> I am just starting out to use perl to write my test scripts.
happens
within your code and it dies (either a perl runtime error or by your use of
die).
N.B. $@ will contain the error string of the original die message from your
script.
- Original Message -
From: "Laura Meli" <[EMAIL PROTECTED]>
To: "Perl-Win32-Users"
--Original Message-
From: Laura Meli [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 11, 2002 5:41 AM
To: Perl-Win32-Users
Subject: Newbie Question
Hi everyone,
I am just starting out to use perl to write my test scripts. I was
wondering if there was a way to call one perl program from anot
Hi everyone,
I am just starting out to use perl to write my test scripts. I was
wondering if there was a way to call one perl program from another. I know
that if I have a .pm module then I call it by the use function. How about a
.pl file? I want be able to choose which tests I run each time
Title: RE: Newbie question!!
### untested
my $dir = "/your/dir/here";
opendir(DIR,$dir) || die "Can't open dir $dir : $!\n";
my @files = readdir(DIR);
close(DIR);
foreach my $file (@files)
{
my ($name,$ext) = $file =~ /^([\w|\d]+)\[\d\]\.(\w+)$/;
re
Avila, Jorge wrote:
> Hi all,
>
> I have a directory with a lot of files like:
>
> abc[1].htm
> def[1].htm
> 123[1].htm
> 456[1].htm
>
>
> Can anybody please help to create a short script to rename it like ??
>
> abc.htm
> def.htm
> 123.ht
I remember seeing something similar done with eval() but I couldn't figure
out how. Anyone know how?
> -Original Message-
> From: Markus Rakowski [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 05, 2002 03:24
> To: [EMAIL PROTECTED]
> Subject: RE: newbie
r be able to see the difference.
Choose the backticks if you want to capture STDOUT easily.
Merrill
-Original Message-
From: Varun Seth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 4:57 PM
To: '[EMAIL PROTECTED]'
Subject: Newbie question: Efficient code
Hello,
I am new to
Hello,
I am new to Perl and am converting a batch file written to do a bunch of
things with Oracle to Perl.
The way I am converting it to Perl is to make bunch of system calls and
wondering if I can make it more efficient 'cause each call to system would
be expensive in terms of resources etc. He
multi-part mail appears.
-Original Message-
From: Stephen Morley [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:12 AM
To: 'Sharon Tiroff'; '[EMAIL PROTECTED]'
Subject: RE: Newbie question
One way handle this is to use multipart mail. You can send one pa
]'
Subject: Newbie question
Hi List!
Right now I am sending HTML e-mails, but what those users cannot receive
HTML e-mail? Does anyone know how to tell if a user cannot receive HTML
e-mail and then send those a plain/text e-mail instead?
Thanks in
There is no sure way to tell if the recipient is able to read HTML or
not. If they cannot, the resulting email can be hard to read.
Possibilities include:
- asking a user which they would prefer and then sending based on
response.
- including a link to a Web-page were they can see the email
Ask them
Peter Guzis
Web Administrator, Sr.
ENCAD, Inc.
email: [EMAIL PROTECTED]
www.encad.com
-Original Message-
From: Sharon Tiroff [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 1:46 PM
To: '[EMAIL PROTECTED]'
Subject: Newbie question
Hi List!
Right now I am se
Hi List!
Right now I am sending HTML e-mails, but what those users cannot receive
HTML e-mail? Does anyone know how to tell if a user cannot receive HTML
e-mail and then send those a plain/text e-mail instead?
Thanks in advance!
Sheri
___
Perl-Win32-
> -Original Message-
> From: Tanaka, Joe [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 03, 2001 10:09 PM
> To: [EMAIL PROTECTED]
> Subject: PPM newbie question
>
>
> This is a newbie question regarding PPM.
>
> I want to install the SOAP-Lite and the Tcl
25 matches
Mail list logo