://amzn.com/0130652067
If you could put together a simple test case that demonstrates the problem
you're having, I would be happy to take a look at it.
---
Andy Grundman
Lead Perl Language Developer, ActiveState
an...@activestate.com
On Thu, Oct 22, 2015 at 5:51 PM, Miriam Heinz
wrote:
&g
Hi to everyone,
First off I hope I'm posting this to the right Mailing list.
If not, please forgive me in advance. I just started using ActivePerl
I'm having difficulty using RegExp to match/extract across several lines in an
HTML file.
I want to match and extract everything between a pair of
Isn't the standard-ish way to do
use lib '/some/path'
or by setting the env var
PERL5LIB='/some/path'
before execution? You can manipulate/download cpan modules to install
in a local (e.g. /home/andy/perl5lib) tree - even a version of the whole
perl shebang, er, kit
Oh, that's a different question. You're not asking for a text file to
be returned. You're asking for the contents of an uploaded text file to
be shown. Entirely different.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jerry Kassebaum
Sent: Monday, Dec
No idea what happened to my brain here. This was supposed to be a
response to the File Upload thread.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Webb, Andy
Sent: Sunday, December 03, 2006 7:20 PM
To: perl-win32-users@listserv.ActiveState.com
Subject
Doesn't look like you set a file name or a MIME type in the result that
would cause it to be interpreted as a document.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Chris Wagner
Sent: Friday, December 01, 2006 6:58 PM
To: perl-win32-users@listserv.Activ
Win32::API is 0.41.
Hmm. Will try on a couple different OS versions and see what happens.
-Original Message-
From: Sisyphus [mailto:[EMAIL PROTECTED]
Sent: Monday, October 16, 2006 9:36 PM
To: Webb, Andy; perl-win32-users@listserv.ActiveState.com
Subject: Re: Perl Abend on exit with
:)
I'd be willing to bet this particular feature won't bite you again.
This is a good point to note how useful test first development is.
http://perlunit.sourceforge.net
If you start with the test/validation before even writing the code,
you'll seldom have an issue with this in production.
---
Well, it's a pretty nifty part of the language if you're expecting it.
Some languages provide for bounds checking in the syntax and some don't.
Seems like bounds checking ought to be part of the healthy code though,
especially if you're relying on externally sourced data/computation.
You have to
, fault address 0x00011e5a.
The fault address isn’t always the same, btw.
I tried my code, the code from the POD and the code from
both your posts with the same results.
System is :
WinXP SP2, perl 5.8.8.817, capicom.dll 2.0.0.3
Andy
the login token... or what...
I know that the "memberof" attributes won't be populated in the directory for user: dom2\user ... with information from dom1 ... so I can't get it from there...
Has anyone done anything like this? Thou
f, $varPID ) ) { print "Process successfully created on ".$strServer." with PID ".$varPID."...\n";
} else { print "Failed to create process on ".$strServer."...\n";}
This should be pretty straight-forward... and completely untested... remembe
objProcess) variable would be set...
Thoughts?Andy Speagle-On 5/15/06, Timothy Johnson <[EMAIL PROTECTED]> wrote:
Are you getting the
ProcessId property returned at the end? Have you checked the contents of
$varPID?
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED
pl", undef, undef, $varPID ) ) { print "Process successfully created with PID $varPID\n";} else {
print "Failed to create process.\n";}
print $objProcess->{ProcessId}."\n";
It appears that I can't get any information about the process via the $objProc
There's a very nice set of modules for Excel you should check out:
Spreadsheet::WriteExcel
Spreadsheet::ParseExcel
Cheers,
Andy Speagle
On 5/14/06, jagdish eashwar <[EMAIL PROTECTED]> wrote:
Hi,I am unable to get the name of the cells in my excel worksheet though I can get
tring.\$ Please format me.\$\$\$ I am the endof the String.\$\$ And i am the last!";
$Data =~ s/[\$]{3}//;$Data =~ s/[\$]{2}//;$Data =~ s/\$//;
print $Data ."\n";
Hope that helps...
Andy Speagle
-
On 5/12/06, Holger Wöhle <[EMAIL PROTECTED]> wrote:
Hello,under Windows
1, NORMAL_PRIORITY_CLASS, '.' ) || die "Win32::Process::Create: $! ($^E)";
return $obj;}
This all works fine in a console... so once again... I'm afraid that this sort of thing doesn't work right when handled as a CGI...
Thoughts?
Andy Spe
getting a proper process fired up...
Could you give me an example of how this might work?
Thanks,
Andy Speagle
-
On 4/26/06, $Bill Luebkert <[EMAIL PROTECTED]> wrote:
Andy Speagle wrote:> Hi Bill,>> Thanks for the info... I tried your suggested code... though it doesn
aitpid '-544' Parent: waitpid '-10592' Parent: waitpid '-10344' Parent: I have 6 kids
--
You can see that it catches the first child thread (-11404) dying... but all subsequent children are not caught... is it that this script is processed as a cgi that it's
you can see... the first child (PID -10180) is reaped... but the rest never seem to die... can anyone clue me into why that is?... I'm running ActiveState Perl
5.6.0 Build 623...
Thanks,
Andy Speagle
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
As specified in the Net::Telnet docs, your prompt should be a match string.
Try something like:-
prompt =>'/c:.*?>/' #untested on a full session but does not throw an error
when called as below
Andy
- Original Message -
From: "Satish Vadlamani" <[EMAIL PROT
mtp->data(); $smtp->datasend("To:
$email\n"); $smtp->datasend("From:
$webmaster\n"); $smtp->datasend("Subject:
$subject\n\n"); $smtp->datasend("Content-Type:
text/html\n\n");
foreach $line
(@file) { $smtp->datasend(&q
Denis
I think this will do the deal for you:-
$tagger = "See SAY_PLEASE_TXT and SAY_HELLO_TXT.";
$tagger =~ s/\b([A-Z]+_[A-Z_]+)\b/^$1^/g;
print "$tagger\n";
Andy
- Original Message -
From: "Denis Pleic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTE
fectly too much.
hth a bit
Andy
- Original Message -
From: "Ronnie Jones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 12, 2001 10:17 AM
Subject: Win32::ODBC with Access2000
> I am having a little difficulty with Access 2000 and ODBC. I am
start to finish, which I
think gets a bit much.
Andy
(aka Danni-Christi Ashe-Canyon)
- Original Message -
From: "Chris Pettit" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 11, 2001 11:29 PM
Subject: RE: [An open complaint (was RE: An Index of Incivility
on me - my inclination is that the child is not
getting a complete copy of the resources independantly and therefore this
can never work. The widgets must have some WinAPI stuff which is fixed - I
think.
I know this is a very broad question - I'm open to facts, opinions and
educated gue
linear and straightforward it
is fairly wasy to use IO::Socket or one of the mail modules to send out the
mail direct from the script. If you have 2000 server you can even just send
them to your own SMTP service on your own machine.
Andy
- Original Message -
From: "Michael Mirman" &l
de works fine in a finite program but if the GUI is going
to
> stay open and another transfer may be attempted, then there are probably
> other file handle clean-up issues that will need addressing, but at least
> you should be going in the right direction.
>
> hth
>
> Andy
>
>
>
then you may have an OS memory paging
problem.
hth - a bit anyway.
Andy
- Original Message -
From: "mmollenkopf" <[EMAIL PROTECTED]>
To: "Andy Jennings" <[EMAIL PROTECTED]>; "Perl Win32"
<[EMAIL PROTECTED]>
Sent: Sunday, May 27, 2001
robably
other file handle clean-up issues that will need addressing, but at least
you should be going in the right direction.
hth
Andy
- Original Message -
From: "David Johnson" <[EMAIL PROTECTED]>
To: "Perl Users" <[EMAIL PROTECTED]>
Sent: Saturday, May 2
Alan
Probably at least a snippet of code around the fork would be good. Also Perl
version/build and OS.
Andy
- Original Message -
From: "mmollenkopf" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 26, 2001 10:01 PM
Subject: fork error??
> I k
The only way I think you may be able to do this would be through frames and
you would need some persistent variables for the Perl script - maybe a
hidden text input var for where you are in the list.
Andy
- Original Message -
From: "steve silvers" <[EMAIL PROTECTED]
Add a check for a word boundary to the start and finish of the old word
$_ =~ s/\b$oldWord\b/$newWord/g
hth
Andy
- Original Message -
From: "Rex Posadas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 11:42 AM
Subject: substitution on
Title: PSCI_1
Paula
Most likely because the command returns a two byte
int and the return code is only setting the high byte bits with all the low byte
bits unset.
Dividing by 256 is the equivalent of 8 bitwise
shifts to place all the set bits in the low byte.
Andy
be
'exit;'.
The parent will produce a non-zero value and so the condition will be false
and the parent skips over the block of child code and goes on its merry way
doing whatever else you want it to do.
hth
Andy
- Original Message -
From: "Jeremy Aiyadurai" <[EMAIL
Could you post the complete and exact error message plz together with the
code 3 or 4 lines either side of the error line #.
It sounds like more of a permissions prob but we need to know what you are
trying to do.
Andy
- Original Message -
From: "eo_pereira" <[EMAIL P
st match in the file or is printed to whereever
you want.
Repeat $longline =~ s/()//si; for subsequent matches in
the
same file as often as required - probably you would use a while loop if you
are expecting multiple matches.
hth
Andy
>
>
> - Original Message -
> From:
Bill
It looks ugly, I know, but it works...
$myvariable =~ s/\\rmcnt\\public/rmcntpublic
<rmcntpublic> /;
Add the g option if there are multiple instances of the string to change in
the variable
Andy
- Original Message -
From: <[EMAIL PROTE
James
I don't seem to have a problem with this on Textpad 4.3.1 32-bit version.
The settings I use are:-
Command: C:\Perl\bin\Perl.exe (or other location of Perl.exe)
Parameters: d:\scripts\intest.pl (or location of script to run)
and have the 'DOS command' box chec
pts are running already as any .pl
produces just a perl.exe in the tlist and any .plx does not appear at all as
it runs under inetinfo.exe, the webserver process. I don't know how this
goes in UNIX.
HTH
Andy
- Original Message -
From: "bowman" <[EMAIL PROTECTED]&g
- Original Message -
From: "Andy Jennings" <[EMAIL PROTECTED]>
To: "jose quesada" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, April 07, 2001 11:43 PM
Subject: Re: how to represent "any character" (incl. \n) in regexp?
&g
Try (.|\n) instead.
Andy
- Original Message -
From: "Bennett Haselton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 07, 2001 11:08 PM
Subject: how to represent "any character" (incl. \n) in regexp?
> Since according to
Did you create fileb on the server with some Perl code or FTP it up there?
There can be different permissions set with those two methods.
Andy
- Original Message -
From: "Jim McCoy" <[EMAIL PROTECTED]>
To: "Carl Jolley" <[EMAIL PROTECTED]>
Cc: <[EMA
his is selected during the install, but some systems may
require a reboot before this goes into effect.
Andy
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, January 24, 2001 8:39 AM
To: [EMAIL PROTECTED]
Cc: Jon Bjornstad;
44 matches
Mail list logo