Have you read the articles on threading in Perl? Install ActivePerl and
read the perlthrtut article. It's good most of the stuff you need to get
started and more.
Anyway you'll get better response when you ask a specific question.
[EMAIL PROTECTED] wrote:
>
> I'm taking the dare and dipping my
Definately. We ARE talking about Perl right?
Regular Expressions can solve your particular problem, and it will
likely solve the next few ones as well. Check it out.
sandeep s kumar wrote:
>
> Dear Team,
> I need a clarification regarding perl operators.
>
> ie. Is there any operator calle
Title: Win32 Multi-threading examples
I'm taking the dare and dipping my toe in the water asking this.
Any help would be appreciated!
://Bill
___
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveS
Hi,
You need to research on regular expressions.
There's a lot you can do with it, this is just the smallest part of its
power:
if ($var =~ m[House]) {...} # This will match the word House anywhere in
$var
if ($var =~ m[house]i) {...} # The same, but case insensitive
if ($var =~ m[^ho
Sandeep,
Sounds like another regex solution to me
if ($x =~ /^a/) {
# store value of $x
}
Deane Rothenmaier
Systems Architect
Walgreens Corp.
847-914-5150
"Truth is eternal, knowledge is changeable. It is disastrous to confuse them." -- Madeleine L'Engle
"sandeep s kumar" <[EMAIL
Vijay wrote:
>
> Hi All,
>
> I'm running a Perl statement to fetch some data from a database.
>
> Lets assume that I want to pull out some data whose description starts
> with "ST:"
>
> I'm passing description as one of my parameter in my Perl code. I want
> to assign a value to the descript
Dear Team,
I need a clarification regarding perl operators.
ie. Is there any operator called LIKE in perl.or its substitute.
The scenario is that,ie, can i store string whose starting letter is say 'a' but rest of its character is unknown.
i mean to say whether this is possible.
$myvari
Brian Raven wrote:
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of ukhas
> jean
>
>>Take a chill pill, bro ...
>
>
> Are you sure that you want to take that attitude with somebody who was
> trying to help?
He's just saying that the help was kinda cryptic. Saying it's
intern
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ukhas
jean
Sent: 19 September 2006 14:59
To: Active Perl
Subject: RE: my n symbol table ...
> Chill Eric ... it was just a question ...
It seemed like a fairly reasonable answer to me.
> If its an Activestate "trademark secret" then
Simplest solution... He's testing for string EQUALITY when he should be using a regex:
$description =~ /^ST:/;
That's what he needs, if he's doing the matching in Perl.
Deane Rothenmaier
Systems Architect
Walgreens Corp.
847-914-5150
"Truth is eternal, knowledge is changeable. It is
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ukhas
jean
Sent: 19 September 2006 14:51
To: Active Perl
Subject: how to chk $dbh is active or not ... also do v have a perl
helpfilein .chm format???
> 1. i have a $dbh DB-handle ... I wanted to check whether the handle is
still activ
Hey, I'm cool. :-) You're the one with the double
and triple question marks. :-)
There's nothing wrong with wanting to delve deeply into
the font of Perl wisdom. This particular path, however, doesn't
really lead anywhere. But keep on asking questions, keep on
learning!
Eric J. Roode
Chill Eric ... it was just a question ... If its an Activestate "trademark secret" then just say it ... no need to play around with words ... Its was just my knowing urge ... I find Activestate Perl interesting and wanted to go to the depths to know things ... Take a chill pill, bro ...
1. i have a $dbh DB-handle ... I wanted to check whether the handle is still active or disconnected ... is there something like $dbh->{active} ... ??? 2. The documentation of perl is cumbersome in the .html format for starters (unless u know where to find things ... which takes a lot of time fo
By magic -- evil and dark sorcery.
You don't want to know. And really, you don't need to.
You cannot reference a lexical variable by its name anyhow. For all you
know, perl completely does away with the variable names at compile time, like a
C++ compiler would.
And
finally, it's not
Then how does Activestate Perl keep track of all the my variables within a block??? I mean there has to be a way ... right?? Rgds, Raj SVK Team Lead, ICICI"Roode, Eric" <[EMAIL PROTECTED]> wrote: Lexical ("my") variables do not exist in the symbol table at all. Only package ("global")
It
depends on whether you want to do the comparison in Perl or in the
database.
If in
Perl, it depends on whether you want to do it in the main code, in a library,
read from a config file, etc.
If in
the database, it depends on which database product you're using and what
interface you're
Lexical ("my") variables do not exist in the symbol table
at all. Only package ("global") variables do.
Eric J. Roode
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ukhas
jeanSent: Tuesday, September 19, 2006 8:58 AMTo: Active
PerlSubject: my n symbol table ...
Does t
Hi
All,
I'm running
a Perl statement to fetch some data from a database.
Lets assume
that I want to pull out some data whose description starts with
"ST:"
I'm passing
description as one of my parameter in my Perl code. I want to assign a value to
the description such that It pulls ou
Does the entry from the symbol table get removed for a "my" variable say my $var once it exits the block its declared in??
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.___
ActivePerl mailing list
ActivePerl@list
ukhas jean wrote:
> whts the use of \Q \E in a regex pattern? I did a google and found the
> below meaning (which is some tech mumbo-jumbo ... i cldnt understand).
>
> \E end case modification
> \Q quote non-word characters till \E
> I also read somewhere on the net abt some "
Brian Raven wrote:
>
> Valid points, but as I said I was just fleshing out an existing example.
> I was doing as little work as possible to generate a working, if
> simplistic, demo. In general, for a single process, single threaded,
> multi client server, then select, non-blocking i/o, sysread an
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ukhas
jean
Sent: 19 September 2006 11:26
To: Active Perl
Subject: \Q \E options ... ???
> whts the use of \Q \E in a regex pattern? I did a google and found the
below meaning (which is some tech
> mumbo-jumbo ... i cldnt understand).
whts the use of \Q \E in a regex pattern? I did a google and found the below meaning (which is some tech mumbo-jumbo ... i cldnt understand). \E end case modification \Q quote non-word characters till \E I also read somewhere on the net abt some "auto-evaluation" that these
$Bill Luebkert <> wrote:
> Brian Raven wrote:
>
>> Well the example in 'perldoc IO::Select' seems to provide a basic
>> skeleton that can be fleshed out. However, as I am feeling generous
>> today for some reason, as well as suggesting that you RTFM, I have
>> fleshed it out a little.
>>
>>
25 matches
Mail list logo