may be its
because you are executing script in Windows Explore and double clicking the
script ,
its better to
open a command prompt and from the command prompt , run the script or drag the
file icon into the Command Prompt and eecute the script , If you do not want to
go the path of the di
Ted Schuerzinger wrote:
> $Bill Luebkert graced perl with these words of wisdom:
>
>
>>command prompt> wperl perlscript.pl
>>
>>The shebang line version you're trying to do would require a separate
>>file assoc of wperl to say .plw or some such.
>
>
> Isn't the command prompt part of the "blac
$Bill Luebkert graced perl with these words of wisdom:
> command prompt> wperl perlscript.pl
>
> The shebang line version you're trying to do would require a separate
> file assoc of wperl to say .plw or some such.
Isn't the command prompt part of the "black box" the original poster
didn't want
Ed Chester wrote:
>>#!wperl
>
>
> the shebang ('sharp, bang') line should have the full path... ?
That's (shell bang) unless you're from the UK. ;)
> #!/c:/perl/bin/wperl -w
The shebang line isn't used by Windoze shells. You'd have to
be running a UNIX type shell or webserver for the sheban
I don't know how I got onto this mailing list. Please
remove me from it as soon as possible.
Thanks
__
Do you Yahoo!?
Jazz up your holiday email with celebrity designs. Learn more.
http://celebrity.mail.yahoo.com
___
I will be out of the office starting 12/15/2004 and will not return until 12/27/2004.
Please contact Joe Trunkett or Steve Yambor with any infrastructure issues in Cleveland.
***
This communication may contain privilege
Missed the part about the firewall:
You'd first need to set an environment variable called HTTP_proxy. Its
documented in the docs:-
Under Windows 2000
Right click on "My Computer", click on "Properties" and select the
"Advanced" tab. Click the button marked "Environment Variables" and make
the fol
You'll need to add Mr C's repository to your ppm:-
ppm> rep add http://dada.perl.it/PPM
Then install as necessary
Cheers
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Lasher, Brian
Sent: Thursday, December 16, 2004 7:13 AM
To: [EMAIL PROTECTED]
Subjec
All,
Tried using the ppm to install Win32::GUI. The ppm just gave me the
following error:
Error: No valid repositories:
Error: 500 Can't connect to ppm.ActiveState.com:80
Assuming it's because I'm behind a firewall with a proxy server, but
couldn't figure out how to configure proxy server s
hello all,
how do i extract an icon from an exe file, then write it to a file.
here is my code. It does not work.
-
use Win32::API;
my $ExtractIcon = new Win32::API("shell32.dll","ExtractIcon",[N,P,N],'N');
my $icon = $ExtractIcon->Call($$,"C:\\Program Files\\Shareaza\\Shareaza.exe",0);
open(I
John,
Can you run simpler CGI scripts? I see you've given permissions to
Everyone but I wonder if something else (that would be easier to debug)
is causing your "access denied" errors.
Carter.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of
> #!wperl
the shebang ('sharp, bang') line should have the full path... ?
#!/c:/perl/bin/wperl -w
ed c
-Original Message-
From: Lasher, Brian [mailto:[EMAIL PROTECTED]
Sent: 15 December 2004 21:02
To: Ed Chester; [EMAIL PROTECTED]
Subject: RE: black box
Have got several replies say
I'm trying to get my web site working with an Oracle database (I've been
using SQL Server through DBD::ODBC). Although stand alone scripts can
successfully access the remote Oracle database, my web site, running under
IIS, can't. I get a 500 server error, and in the Perl log file, I get:
*** 'c
> I seem to be missing a piece of the puzzleI want to define a character > class ([]) > with atoms to (not) match involve negative look-ahead assertions.but no > joy. > > I am reading a stream of text that may contain the two segments \\n and \" > > I want to define a regexp that will mat
> -Original Message-
(B> From: [EMAIL PROTECTED]
(B> [mailto:[EMAIL PROTECTED] On
(B> Behalf Of Michael Meltzer
(B> Sent: Wednesday, December 15, 2004 2:44 PM
(B> To: Perl-Win32-Users
(B> Subject: sort question
(B>
(B> The following strings I have in an array:
(B>
(B> xyz
(B>
Michael Meltzer wrote:
> The following strings I have in an array:
>
> xyz
> abcd
> ZABC
>
> if I do @sorted = sort(@unsorted) I get
>
> ZABC
> abcd
> xyz
>
> I would like to sort this strings alphabetical ignoring capitalisation but
> whithout changing the output format.
> I want to get this
Try:
@sorted = sort {uc $a cmp uc $b) (@unsorted);
This compares (cmp) the upper case of the two values (uc) without modifying
them.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Michael Meltzer
Sent: Wednesday, December 15, 2004 1:44 PM
To: Perl-Win32-U
Lasher, Brian wrote:
> Have got several replies saying use wperl
>
> Modified:
>
> #!perl
>
> To
>
> #!wperl
>
> Doesn't work? am I not doing it right?
command prompt> wperl perlscript.pl
The shebang line version you're trying to do would require a separate file
assoc of
wperl to say
If you're using ActiveState Perl, an easy was is to use the "wperl"
executable instead of the "perl" executable to run your scripts.
Scripts you want to run w/o the dos box could have a .wpl extension
instead of .pl, and you could associate .wpl with wperl.
--Kester Allen
On Wed, 15 Dec 2004 13
The following strings I have in an array:
xyz
abcd
ZABC
if I do @sorted = sort(@unsorted) I get
ZABC
abcd
xyz
I would like to sort this strings alphabetical ignoring capitalisation but
whithout changing the output format.
I want to get this:
abcd
xyz
ZABC
How can I do this ?
Michael
--
+--
Lasher, Brian wrote:
> Is there any way to keep the “black command-prompt looking box” from
> popping up when executing perl script on win 32 platform?
Please post in plain text.
Have you tried using wperl instead off perl ?
--
,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTE
Have got several replies saying use wperl
Modified:
#!perl
To
#!wperl
Doesn't work? am I not doing it right?
Brian Lasher
Catalog DSP Product Engineering
Best Practices and Yield Enhancement Team
[EMAIL PROTECTED]
281-274-2913(W)
281-684-4699(C)
713-664-6240(H)
281-274-2279(F)
Title: Message
use
wperl instead of perl
they
will behave the same on win32, except that wperl won't support any options that
require a console window to be there...
ed
c
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Lasher, BrianSe
-Original Message-
From: Lasher, Brian
Sent: Wednesday, December 15, 2004 2:38 PM
Subject: black box
Is there any way to keep the "black command-prompt looking box" from popping
up when executing perl script on win 32 platform?
-brian
---
When you exe
Lasher, Brian wrote, on Wed 12/15/2004
14:38: Is there any way to keep the
“black command-prompt looking box” from popping up when executing perl script on
win 32 platform?
Probably one of a hundred
replies: try wperl instead of perl.
Good luck,
Joe
Thanks $Bill. You are absolutely right, it didn't make any sense. I will
work on it.
Greg.
- Original Message -
From: "$Bill Luebkert" <[EMAIL PROTECTED]>
To: "Greg Wardawy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 15, 2004 1:39 PM
Subject: Re: CGI - re-writi
Greg Wardawy wrote:
> From: "$Bill Luebkert" <[EMAIL PROTECTED]>
>>Greg Wardawy wrote:
>>
>>
>>>Thanks a lot $Bill. I will try all of your suggestions.
>>>So, there is no way to write the script, execute it as a SSI inside the
>>>cell
>>>of the table:
>>>
>>>---SNIP---
>>>
>>>1
>>>
>>>
Is there any way to keep the “black command-prompt
looking box” from popping up when executing perl script on win 32
platform?
-brian
Brian Lasher
Catalog DSP Product Engineering
Best Practices and Yield Enhancement Team
[EMAIL PROTECTED]
281-274-2913(W)
281-684-4699(C)
713-66
- Original Message -
From: "$Bill Luebkert" <[EMAIL PROTECTED]>
To: "Greg Wardawy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 15, 2004 12:57 PM
Subject: Re: CGI - re-writing the content of the cell on the web page
Greg Wardawy wrote:
Thanks a lot $Bill. I will
Greg <> wrote:
: Thanks a lot $Bill. I will try all of your suggestions.
: So, there is no way to write the script, execute it as a SSI
: inside the cell
: of the table:
:
: ---SNIP---
:
: 1
:
:
:
:
:
: ---SNIP---
Your code sends mul
Greg Wardawy wrote:
> Thanks a lot $Bill. I will try all of your suggestions.
> So, there is no way to write the script, execute it as a SSI inside the cell
> of the table:
>
> ---SNIP---
>
> 1
>
>
>
>
>
>
> ---SNIP---
>
> and have th
I think what your after is:
you'll need to have includes using exec turned on, I'm pretty sure that the
default is off on most servers...
- Original Message -
From: "Greg Wardawy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 15, 2004 1:28 PM
Subject: Re: CGI -
Thanks a lot $Bill. I will try all of your suggestions.
So, there is no way to write the script, execute it as a SSI inside the cell
of the table:
---SNIP---
1
---SNIP---
and have the content of the cell re-written with a new value of the
vari
Hello all,
Thank you for the time. I guess that this foray into lookaround assertions
was bust. ;0) I am using Parse::RecDescent and I realized that I could use
the
order of Rules to ensure that if I *wasn't* looking at either a \\n or a \"
then I would have a bare \ that a simple Production c
Greg Wardawy wrote:
> Hello all,
>
> My question is short even though I've spent the last couple of days trying
> to find the answer and am stumped.
> What is the trick to force the Server Site Included CGI script to re-write
> the content of the cell with the new value of the variable?
> My sc
Hello all,
My question is short even though I've spent the last couple of days trying
to find the answer and am stumped.
What is the trick to force the Server Site Included CGI script to re-write
the content of the cell with the new value of the variable?
My script (there is, actually a bunch of
I am parsing some header files with swig and he doesn't
like macro "#define GW_FUNC_SPEC(id) (id), (#id)
" . I just get a syntax error.
Anyone had any experience with swig and macros?
Thanks.
Zlatko
___
Perl-Win32-Users mailing l
37 matches
Mail list logo