After an IRC chat with haratron I made this sample code of how to use
Win32::MMF raw C style. Without the proprietary Storeable cough cough RPC layer
that doesn't let you normally use Win32::MMF for non Perl to Perl IPC
communications. The 2 scripts must be in the same folder for them to work.
Hello,
I'm trying to interface Perl with Python with Win32 shared memory
(without accessing the disk at all if possible).
Python creates a namespace and writes a string to it and I want to
read it from Perl.
If I use the proposed object oriented interface of Win32::MMF like:
$ns = Win32::MMF-
ActiveState.com
Subject: Win32::Process Help Needed - Main Process Exits While Children Run
I have a piece of code that has been running for a number of years, until now.
My vendor changed the way they created a program,
and that new program exits before its children's processes are fin
I have a piece of code that has been running for a number of years, until
now. My vendor changed the way they created a program, and that new
program exits before its children's processes are finished. In the past,
the following "snippette" has worked fine for me:
my $progFullPath = "c:\\temp
om] On Behalf Of Perl
Perl
Sent: Wednesday, March 04, 2009 10:07 PM
To: perl-win32-users@listserv.activestate.com
Subject: Issue with Mail::Sender : Help needed
Dear All,
I am getting the below error for Mail::Sender utility. Which sends
Dear All,
I am getting the below error for Mail::Sender utility. Which sends the mail.
Your help will be a great help for me. Error is,
*Can't find string terminator "*END*" anywhere before EOF at Mail_Attach.pl
line 18.
*
Please find the complete code as below, and platform is Linux.
#!usr/lo
Hi All,
I have to read a file by using hash ( Associative array) . Here I have
to grep the particular information from that file.
Like file is having the data like Date (2-Jan-2008) and user id ( MID1023
) etc.
These all information is there for number of people in different lines.
My task
Mahajan Alok SPEL-TIT <> wrote:
: Can some one help me in getting the user full name instead of
: user id which i'm getting by using the following script.?
: This script is being used in an environment where all the users
: are one domain users having different and unique id and not the
: administ
Hello group,
Can some one help me in getting the user full name instead of user id which i'm
getting by using the following script.?
This script is being used in an environment where all the users are one domain
users having different and unique id and not the administrators
However, this is a
perl.org and perl.com along with:
http://www-130.ibm.com/developerworks/linux
has alot of good info on perl.
-Nex6
Ahmed Khater wrote:
Dear list members:
First of all, I am very sorry for the cross-posting of my message and if my
message seems of-topic for some Perl lists to which I
have just sub
I. Uretsky
Sent: 07 March 2005 13:00
To: 'Ahmed Khater'; 'perl-win32-users@listserv.ActiveState.com'
Subject: RE: Help needed for a beginner in perl and in programming in
general.
One of my favorites for beginners is "Perl 5 by Example," which you can find
here: http
tIQ Corporation
[EMAIL PROTECTED]
Direct: 713-418-5200
www.netiq.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ahmed Khater
Sent: Sunday, March 06, 2005 10:02 AM
To: perl-win32-users@listserv.ActiveState.com
Subject: Help needed for a beginn
My favorite is The Perl Black Book by Steven Holzner.
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Dear list members:
First of all, I am very sorry for the cross-posting of my message and if my
message seems of-topic for some Perl lists to which I
have just subscribed.
My name is Ahmed Khater. We, myself and one of my colleagues, are scholars in
linguistics and are planning to be specialize
ashish srivastava wrote:
> hi,
> i am running the same script that u gave(with some minor modifications) but
> i am unable to get the result e.g.
See modified scripts at end.
> main prog(to be automated):
>
> #!D:\perl\bin\perl
>
> use CGI::Carp qw(fata
>content : $res->status_line;
print $res->content();
This prints the entire HTML page
--
My LWP/Mechanize example
Action si :
What am i missing?
THanks
Ashish
From: "Yehuda Berlinge
ashish srivastava wrote:
> Hi,
>
> I am trying to replicate a form submit action. Will LWP be useful for this?
> i am new to LWP so dont know much about its capabilities.
> The form that i am trying to submit calls a perl program and passes some
> variables in the POST method. The form has som
Hi,
I am trying to replicate a form submit action. Will LWP be useful for this?
i am new to LWP so dont know much about its capabilities.
The form that i am trying to submit calls a perl program and passes some
variables in the POST method. The form has some text fields which the user
fills and
Jeff Griffiths <[EMAIL PROTECTED]> wrote:
...
Here is a link to a free online book targeted at new Perl developers:
http://learn.perl.org/library/beginning_perl/
Here is another free online book:
http://www.ebb.org/PickingUpPerl/
I like Picking Up Perl because the book is available both
in separat
hi mark,
"I need to crate an program that looks through a text file",
i would suggest looking into something called "regular expressions", or "regex". it's faster than parsing by using sub-strings. there is also an o'reilly book on it; i believe its worth the investment.
regards,
Jef
Thomas, Mark - BLS CTR wrote:
Hi, i am a student at collage who has never used Perl before.
I need to crate an program that looks through a text file,
find the data need and put it in an graph. I have no idea
how to go about this . can any one out there help me with
this. your help will be muc
> Hi, i am a student at collage who has never used Perl before.
> I need to crate an program that looks through a text file,
> find the data need and put it in an graph. I have no idea
> how to go about this . can any one out there help me with
> this. your help will be much appreciated.
>
>
Divyesh R. Patel wrote:
>
> Hi, i am a student at collage who has never used Perl before. I need to crate an
> program that looks through a text file, find the data need and put it in an
> graph. I have no idea how to go about this . can any one out there help me with
> this. your help will be muc
Hi, i am a student at collage who has never used Perl before. I need to crate an
program that looks
through a text file, find the data need and put it in an graph. I have no idea how to
go about
this . can any one out there help me with this. your help will be much appreciated.
Thank you for yo
Hi,
I want to find bandwidth at which the dialup session has connected
through perl program. Is there any module which can help me..Advance
thanks for help.
regards,
hemachandra
-Original Message-
From: Alberto Adrian [mailto:[EMAIL PROTECTED]
Sent: Mon 29
t: Tuesday, September 02, 2003
12:26 PMTo: Perl UsersSubject: Regex Help
Needed
I have a list of characters. I need to get
a list of all possble sequences of these characters for example.
I have a string that consists of '-mevqgn' I need
to pattern match any combinat
$Bill Luebkert wrote:
> Dax T. Games wrote:
>
>
>>I have a list of characters. I need to get a list of all possble
>>sequences of these characters for example.
>>
>>I have a string that consists of '-mevqgn' I need to pattern match any
>>combination of 'mevqgn' with a preceding - or --.
>>
>
At 01:26 PM 9/2/2003, Dax T. Games wrote:
I have a
list of characters. I need to get a list of all possble sequences
of these characters for example.
I have a string that consists of '-mevqgn' I
need to pattern match any combination of 'mevqgn' with a preceding - or
--.
Right now this is w
pha2) {print "Pattern found!\n";}
-Original Message-From: Dax T. Games
[mailto:[EMAIL PROTECTED]Sent: Tuesday, September 02, 2003
11:26 AMTo: Perl UsersSubject: Regex Help
Needed
I have a list of characters. I need to get
a list of all possble sequences of these cha
or ( @test )
{
print "$_ " . is_DTG_Option( $_ ) . "\n";
}
--
Mike Arms
-Original Message-
From: Dax T. Games [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 11:26 AM
To: Perl Users
Subject: Regex Help Needed
I have a list of characters. I nee
Users" <[EMAIL PROTECTED]>
Sent: Tuesday, September 02, 2003 12:26 PM
Subject: Regex Help Needed
I have a list of characters. I need to get a list of all possble
sequences of these characters for example.
I have a string that consists of '-mevqgn' I need to pattern match a
On Tue, 2 Sep 2003, Dax T. Games wrote:
> I have a list of characters. I need to get a list of all possble sequences of these
> characters for example.
>
> I have a string that consists of '-mevqgn' I need to pattern match any combination
> of 'mevqgn' with a preceding - or --.
>
> Right now th
} }
return 1;}
-Original Message-From: Dax T. Games
[mailto:[EMAIL PROTECTED]Sent: Tuesday, September 02, 2003 1:26
PMTo: Perl UsersSubject: Regex Help
Needed
I have a list of characters. I need to get
a list of all possble sequences of these characters for exampl
Have you tried playing around with character sets? Something like
$target = 'mevqgn';
$length_target = length $target;
if ( $LS_Val =~ /-{1,2}[$target]{$length_target}/ ) {
#do something
}
Whether the above would work for you would depend on whether the code
can ignore positive matches on $LS_
, $MyData; }else
{ printf "All necessary characters were
present.\n"; }
From your description they should only appear once, doesn't matter sequence. I believe it could be a starting place.
Wags ;)
-Original Message-From: Dax T. Games
[mailto:[EMAIL PROTECTED]S
Dax T. Games wrote:
> I have a list of characters. I need to get a list of all possble
> sequences of these characters for example.
>
> I have a string that consists of '-mevqgn' I need to pattern match any
> combination of 'mevqgn' with a preceding - or --.
>
> Right now this is what I am d
I have a list of characters. I need to get a
list of all possble sequences of these characters for example.
I have a string that consists of '-mevqgn' I need
to pattern match any combination of 'mevqgn' with a preceding - or
--.
Right now this is what I am doing but it is very
ugly a
On Mon, 7 Jul 2003, Wenjie Wang wrote:
> Greetings,
>
> I'm using regular expressions to parse strings read in from a data file.
> The data file happened to have text which contains "++" and it was treated
> as "Nested quantifiers before << HERE in regex m/%s/" at run time. Is there
> any way to
index.html
perlmain.html
perltoc.html
readme.html
RELEASE.html
Scot R.
inSite
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
$Bill Luebkert
Sent: Saturday, June 21, 2003 1:05 AM
To: ashish srivastava
Cc: [EMAIL PROT
Title: RE: HElp needed
Okay,
I really need to -w -c what I post before hitting 'send'.
the
next-t-o-last line should be:
else
{print "file $item\n";}
-Original Message-From: Messenger, Mark
[mailto:[EMAIL PROTECTED]Sent: Saturday, June 21, 2003 10
Title: RE: HElp needed
@arry=`ls $dir`;
foreach $item (@arry)
{
if (-d "$dir/$item") {print "dir http://mysite.com/cgi-bin/myscript.pl?dir=$item\">$item\n";}
else {print "file $item\n";
}
Is this close to what
ably do this for you
for free.
Your questions are too cryptic to answer since you aren't really describing
what you have and what you really need or why you can't use CGI etc.
>>From: "$Bill Luebkert" <[EMAIL PROTECTED]>
>>To: ashish srivastava <[EMAIL PR
MAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: HElp needed
Date: Fri, 20 Jun 2003 23:04:47 -0700
ashish srivastava wrote:
> Hi,
> My application needs to create an HTML page which shows all the
directories
> and files(UNIX platform).
> The file/dirs should have a link that sho
PROTECTED] Behalf Of
Carl Jolley
Sent: Saturday, June 14, 2003 7:29 PM
To: ashish srivastava
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: Help needed -- Net::telnet gives errors
On Sat, 14 Jun 2003, ashish srivastava wrote:
> Hi Ibrahim
> Thanks for ur help !
&g
On Sat, 14 Jun 2003, ashish srivastava wrote:
> Hi Ibrahim
> Thanks for ur help !
> I am able to connect to the UNIX server using Prompt=>'/[\w]$-/' (the login
> being the user id with which the person has logged in eg. "tom-" ). But 1
> more prob.
> i have an application in which this perl script
t; The problem is that when i clik submit in the login screen, it dosent
paas the usrname nad pswd to the perl prog. I dont understand why this is
happening.
Please help.
Regards
Ashish
From: ibrahim <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "'ashish srivastava'" &l
or ($X=0; $X <= $#lines; $X++) {
@lines=$telnet->cmd(" ");
print OUT @lines,"\n";
}
close OUT;
$telnet->close;
-Original Message-
From: ashish srivastava
[mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 7:19
PM
To: [EMAIL PROTECTED]
Cc:
[EMAIL PROTECTED]
Subject: Help needed --
Net::telnet gives errors
> > thanx a lott for the information, could you tell me something about DBD
> > (Informix DBD to be specific, and Informix DBD for AIX to be more
> specific).
This is a pretty open-ended question! What flavor of informix do you need
to connect to (Informix cisam, SE, XPS, IDS)? If you hav
I have Apache::MP3 installed along with
Apache::MP3::Sorted and Apache::MP3::Playlist.
I'm not that knowledgable in Apache so I have a
question about what to put in httpd.conf. I have
already put in the MIME types, so thats done. At this
point I have it working but I don't see the sorting
capab
- Original Message -
From: "Mike Reilley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 12, 2002 8:44 PM
Subject: Hash / Array / Sort Help Needed
> I have a list of items that have two fields quantity and desc.
> I need to sort these by
I have a list of items that have two fields quantity and desc.
I need to sort these by quantity and write them out to a file.
Seems simple but I jeep getting tongue tied on this one.
There can be duplicate quantities
Example
qty = 10 , descxxx
qty = 10 , descxyz
All Help, Comments, Code Examples,
Thanks. That did the trick!
On Wed, 13 Jun 2001, $Bill Luebkert wrote:
> Gary Nielson wrote:
> >
> > I am having trouble figuring out how to turn the contents from a form
> > textarea into an html table.
> >
> > First, I am splitting into an array the contents of a data file and doing
> > som
my system is windows 2000 , IIS 5.0
i am using the Mail::Sender module with the code below, the problem is that
all the e-mails are saved to the
c:\Inetpub\mailroot\queue
there is also another file in the dir which is called
NTFS_e121a4c001c0fc1d0001.EML
the file type for this is :Certif
On Wed, 18 Apr 2001, Mike Reilley wrote:
> looking for #personalized email names in a file.
> using
> if (linein =~ m/\#personalized email names/i) { $persw=$true; print
> "SETTING PERSW ON\n"; }
>
> if always fails what am I doing wrong??
>
Since linein is the same as "linein" I'm pretty sur
hi! I have several hyperlinks and i'd like to set it
such that when they are clicked it will launch into a
new browser window. these links are obtained from
elsewhere and hence i'm not able to modify them
directly.
i'm thinking of using regular expressions to
substitute the links to add a "targe
55 matches
Mail list logo