On 5/24/06, Ted Schuerzinger <[EMAIL PROTECTED]> wrote:
Regarding the recent question regarding the command-line script
perl -pi -e 's!\xae!\&\#169!g'
I couldn't figure out what the -pi and the -e were doing. I spent a good
20 minutes looking through Perl's help files, which only left me more
Lyle Kopnicky wrote:
Hi folks,
I'm having trouble with popup dialogs. If there's one open, it seems
the program won't close. That's not good, because I need to be able to
automatically end the program at a certain time, even if the user
hasn't responded to the dialog. I made a toy example bel
Regarding the recent question regarding the command-line script
perl -pi -e 's!\xae!\&\#169!g'
I couldn't figure out what the -pi and the -e were doing. I spent a good
20 minutes looking through Perl's help files, which only left me more
confused than before. (Indeed, I find Perl's help f
Adam R. Frielink wrote:
> I've had some trouble with a commandline syntax for a string search and
> replace using a perl command line.
>
> My cmd line was:
>
> perl -pi -e 's!\xae!\&\#169!g'
I tried this on tcsh and cmd.exe. cmd.exe needs "s instead of 's and
tcsh doesn't like ! and Perl want
I would place SFTPCOMInterface.CIServer in single quotes and I would
check your object reference $SFTPServer after "new" to make sure that it
executed ok.
Just some thoughts at the end of the day...
Nick
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[
Adam R. Frielink wrote:
I've had some trouble with a commandline syntax for a string search and
replace using a perl command line.
My cmd line was:
perl -pi -e 's!\xae!\&\#169!g'
This did not replace the occurace hex EA
The script for what that above cmd line should compile into (according
t
Hi folks,
I'm having trouble with popup dialogs. If there's one open, it seems the
program won't close. That's not good, because I need to be able to
automatically end the program at a certain time, even if the user hasn't
responded to the dialog. I made a toy example below. Every time the
pr
Title: Question about Win32-OLE
It is not clear that the Connect() call
failed. Is it defined to return a true value if it succeeds? Your
_vbscript_ code is not checking the return code of Connect() at all.
If the connection is indeed failing, then
you should try to print out Win32::O
Title: Question about Win32-OLE
Are you sure that the
connect method is returning a non-zero value on success? What happens if you
take out the die clause?
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, May 24, 2006
11:59
I've had some trouble with a commandline syntax for a string search and
replace using a perl command line.
My cmd line was:
perl -pi -e 's!\xae!\&\#169!g'
This did not replace the occurace hex EA
The script for what that above cmd line should compile into (according
to the Camel Book) is:
__B
Title: Question about Win32-OLE
Hi all,
I am having a problem accessing a commercial SFTP server app (non-MS). My code is below. I can instantiate the object but the connect method refuses to establish the connection.
use Win32::OLE;
my $Server = "localhost";
my $Port = "1000";
my $User
Bill,
Thanks for the reply.
you wrote:
Would it be acceptable to just tail a file and accomplish
a similar
result ? (not tested in full form)
Well, that just might be a good substitution
for my simple example. But, and probably why you asked,
the actual implementation is different
from the ex
$Bill Luebkert wrote:
> Neunert Kim wrote:
> > I found a snippet of code, how to use emptymask:
> >
> http://groups.google.de/group/comp.lang.perl.modules/browse_frm/thread
> >
> /548a7ea019b86bd3/cabc47849ad15e65?lnk=st&q=perl+safe+untrap&rnum=2&hl
> > =de#cabc47849ad15e65
> >
> > It should be
I wouldn't go so far as to saay always - usually would be a better choice.
You have to be careful in situations like shelling out to a command
interpreter for example.
Ok. 'Most of the time' then.
___
Perl-Win32-Users mailing list
Perl-Win32-Users
14 matches
Mail list logo