Emeka,
What you are looking for is a word stemmer. You might want to take a look
at something like Porter Stemmer.
-Greg
On Wed, Mar 23, 2011 at 5:35 PM, Emeka wrote:
> Hello All,
>
> I have a file containing dictionary of words ... I would like to play with
> the file in this
I am trying to extract numeric values from a data file and I'm having
trouble writing a regular expression that would do this.
My data looks like this: <{5, 26}{20, 42, 64}{23, 48}>
I am trying to turn this into a list of lists [ [5, 26], [20, 42, 64],
[23,48] ]
Any pointers would be greatly app
The following script runs on 5.8 but does not run on 5.10. I
distilled out a short program with the heart of the bug. The output of
this script could be achieved easily without recursion but my real
sort routine does need to be recursive, but I removed most of the
code. Ignore the fact that this d
all I
get is this:
$VAR1 = {
'Hello' => {
'' => 2
}
};
What I want is this:
$VAR1 = {
'Hello' => {
'World' => 1
'There' => 1
ing-Perl-3rd-Larry-Wall/dp/0596000278/ref=sr_1_2?ie=UTF8&s=books&qid=1269272420&sr=1-2
--
Thanks-
Greg Kurts
On Mon, Mar 22, 2010 at 10:31 AM, wrote:
> Hi, I am a new to Perl programming, please can anyone advice me right book
> to understand Perl.
>
> Thanks,
> Prasad P
Raymond Wan wrote:
Hi Greg,
Greg wrote:
I have a script, where a user can choose between different options
(add user (U), add item (I), search (S)). I want the user to hit
either U, I or S. However, right now, he needs to hit return as well.
Is there a way to get input without hitting
loop:
use strict;
use warnings;
my $input;
while (!$input) {
print "Enter option (A, B, C) \n";
$input=;
}
print $input;
As you can see, a user still needs to hit enter. I'm glad for every hint.
Thanks in advance!
Greg
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
>
>
> HI
>
>
> try that
>
>
> --
>
>
>
> Owen
It It has always been my understanding that perl is "whitespace
irrelevant"
any help would be appreciated...
Thanks,
Greg
signature.asc
Description: This is a digitally signed message part
>
> http://search.cpan.org/~tty/kurila-1.19_0/lib/Benchmark.pm
>
> --
> Ron Bergin
Thanks to all for replying.
Greg.
signature.asc
Description: This is a digitally signed message part
7 -- -93%
> dir 0.1191304% --
What Benchmark .pm are you using ?
CPAN i/benchmark/ => lists 66 entries, but none of which are simply
Benchmark
Thanks in advance.
Greg.
signature.asc
Description: This is a digitally signed message part
ow ssh/scp connections ?
I would strongly suggest NOT USING TELNET as it transmits in plain
text. If you can get it turned OFF on the server, that would be good
as well.
If by chance you are unfamiliar with SSH, man ssh, or google ssh.
HTH,
Greg
.
-Greg
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On Sun, Apr 6, 2008 at 7:52 PM, Kelly Jones <[EMAIL PROTECTED]>
wrote:
> Many programming languages (including Perl, Ruby, and PHP) support hashes:
>
> $color['apple'] = 'red';
> $color['ruby'] = 'red';
>
> $type['apple'] = 'fruit';
> $type['ruby'] = 'gem';
>
> This quickly lets me find the color
[0] => 1
)
)
[name] => Array
(
[apple] => Array
(
[0] => 0
)
[ruby] => Array
(
[0] => 1
)
)
)
Conceptu
Thank you, Tom, that is exactly what I was looking for!!
Thanks again!
-Greg
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
2=print $_, "|" foreach @record;
Or how would I best do that?
Thanks much,
-Greg
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Similar issue here, but with a twist.
I have an input file that I'm reading in that is pipe delimited. (HL7
actually)
So far I have
my @record = split (/\|/,$_);
I want to take $record[16] and replace it with $record[16] /
$record[7] ONLY if $record[7] is not empty.
I have this accomplished by
$co
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have to combine several Unix password files and remove any duplicate
> accounts - putting this into LDAP.
>
> I have the following code that will remove any duplicate whole lines
but
> I need to remove lines only if the first field of the password file is
a
>
e help with a solution to this?
Thanks,
Greg.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
>Hello lists,
>
>I want to get all the files on some a webdir.For example:
>
>http://www.foo.com/bar/
>
>But that dir has a default page "index.htm".So when I accessed the url
I only got the >default page.
>
>Can you tell me is there a way to fetch all the files in that
dir?Thanks a lot.
Hi,
As
Please take the Gentoo discussion somewhere else. This list is for perl
beginners to get help, not for silly distribution wars. Go play on Slashdot
or something.
On 1/9/07, Arvind Autar <[EMAIL PROTECTED]> wrote:
>
> debian.
>
> Gentoo has a whole history of open source distrobuters who boycot it
execute($complex,$plaats,$straat,$teller)
or die "Connection Error: $DBI::errstr\n";
Not only will this free you from worrying about how to quote the
variables, but it allows you to re-use the same statement with different
variables by passing different arguments to execute again.
--
ted
twice because you disconnected the first handle before trying to grab it
again.
It's unclear exactly what you mean by "persistent connection", but
connect_cached is probably not the solution you are looking for.
Connection caching is usually done at another level. For example, if
t
;).
Usage examples:
$ modver DBD::Pg
Version 1.49
$ modver Acme::Dynamite
No module found
$ modver Data::Dumper
Version 2.121
--
Greg Sabino Mullane [EMAIL PROTECTED] [EMAIL PROTECTED]
End Point Corporation
PGP Key: 0x14964AC8 20061005
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9
iously
created via the new method.
- --
Greg Sabino Mullane [EMAIL PROTECTED]
End Point Corporation
PGP Key: 0x14964AC8 200610021303
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-BEGIN PGP SIGNATURE-
iD8DBQFFIUdevJuQZxSWSsgRAjL0AKCnIBO/bdFgeOnDv2kBnYmv7/6eAwCeJm
uot;%s=%d\n", $_, &{"DBI::$_"};
}
In addition, whichever database driver you are using may have its own
type constants available. For example, if you are using Postgres, you
can specify:
use DBD::Pg (:pg_types);
Hope that helps.
--
Greg Sabino Mullane [EMAIL PROTECTED] [EMAIL
>Small correction: because of the hyphens those barewords need to be quoted.
>
>my @cfgs = (
>[ Toaster=> 6 ],
>[ 'MFG-UNIX' => 5 ],
>[ 'SYS-UNIX' => 5 ],
>[ 'Amanda-Daily' => 1 ],
>);
>
>my %cfgs = (
>Toaster=> 6,
>'MFG-UNIX' => 5,
>'SYS-
y using
>the File::ReadBackwards module.
Thanks for the solutions John, works a treat. Files are quite small but
will look into File::ReadBackwards
Regards,
Greg.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
suggestions for improving this script much appreciated.
Thanks,
Greg.
--start--
use strict;
use warnings;
my $cfgDir = '/amanda/admin/etc/amanda';
my @cfgs = qw(Toaster MFG-UNIX SYS-UNIX Amanda-Daily);
my %numTapes = (
"$cfgs[0]" => 6,
"$cfgs[1]" =&
ctions are in place then all those
resources may not be available.
Check your syslogs and dmesg for entries when you get the "out of memory"
errors.
Good luck,
Greg.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.or
that you want.
Sorry - my mistake.
Still trying to get the hang of perl and I've totally confused a few things.
Back to the books for me!
Cheers,
Greg.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
to use %convert instead in
his example above.
Cheers,
Greg.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
t;Can't open $filePW: $!";
while () {
if (/$host/) {
my @c = /(\D,\d\d)\s(\D,\d\d)/;
}
}
close(PWFILE);
...do something with $c[0] $c[1] $c[2] $c[3]...
#EndCode
Really appreciate some pointers.
Regards, Greg
>Thanks for the pointers I have made your recommended modifications, as you
>can see I'm new to this, much appreciated. :-)
>
>The script as it stands is very inefficient because of the way I have done
>it, you mentioned saving the matches or IP's in a hash how would I go about
>doing this if you
-Original Message-
>> Hi,
>
>Hello,
>
>> I have a file like:
>>
>> A B C
>> 1aa11bb11cc11
>> 2aa22bb22cc22
>> 3aa33bb33cc33
>> 4aa44bb44cc44
>>
>> I have two sets of coordinates like (A2, C1) and I need to join them
>>
r way and I'm looking for suggestions.
Thanks for your time.
Greg Keenan
Lucent Technologies *
Level 1, 68 Waterloo Road
North Ryde NSW 2113
Australia
* +61 2 9491 6898
* [EMAIL PROTECTED]
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]
Sent: Friday, 19 August 2005 10:26 AM
To: Perl Beginners
Subject: Re: regex - no field seperator
Keenan, Greg John (Greg)** CTR ** wrote:
>>From: Wagner, David --- Senior Programmer Analyst --- WGO
>>
>>
-Original Message-
>From: Wagner, David --- Senior Programmer Analyst --- WGO
>[mailto:[EMAIL PROTECTED]
>Sent: Friday, 19 August 2005 3:21 AM
>To: Keenan, Greg John (Greg)** CTR **; beginners@perl.org
>Subject: RE: regex - no field seperator
>
>Keenan, Greg John
elds I assume.
@oput = /(\d+) (.+\..+\..+) (\d+) (\d+) (\d+) (\d{2,7}) (\d{2,6}) (\d+)
(\d+) (\d+) (\d+) (\d+) (\d+) (\d+) (\d+) (\d+) (\d+) (\d+) (\d+)/;
Can someone point me in the right direction please?
Thanks Greg.
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]
while() {
my @oput2 = /(\d+)%/ or next;
print "XXX @oput2 XXX\n";
}
Thanks John, that's solved it. I'll read up on next.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
6 22% 456 456 456
789
tail
Output data:
XXX XXX
XXX 111 XXX
XXX 22 XXX
XXX XXX
XXX XXX
How do I tell it not to process every line in the file, just the lines that
contain the relevant string?
Thanks,
Greg Keenan
Lucent Technologies *
Level 1, 68 Waterloo Road
North Ryde NSW 2113
Australia
* +61 2 9491 6898
* [EMAIL PROTECTED]
prakash m wrote:
> I have written a small code which will just try to split a string based on
> the Key.
> -
> $val="sample1a+2.8sample2a+2.8sample3a";
> print "String=$val\n";
> print "split Key: 2.8\n";
> @arr=split(/2.8/,$val);
> foreach $i (@arr)
> {
> print "**Split value: $
Hi,
Can someone explain the difference between backticks and system when
evaluated in this if statement:
sub getDate {
print "start date\n";
if ( system("/bin/date") ) {
print "can't get date\n";
exit(2);
}
print "finish date\n";
}
Returns the following:
start date
Thu Jul 28 12:13:5
Ing. Branislav Gerzo wrote:
> Hi all,
>
> recently I've updated perl on FreeBSD machine to latest, but my
> modules go away, they are not in @INC. I have 2 questions:
> 1. is there possibility update perl, without modules going away?
> 2. I have some perl CGIs on server, now I have 500 internal se
Hi everyone,
I'm new to this list and I have a very basic question about
regular expressions.
I inherited a Perl script, and I'm trying to figure out what a specific line
does.
Here's the line:
$dose_density =~ s/[A-Za-z\/ ]//g;
Any help would be greatly appreciated.
lace it in an array as
well. My question is, how can I take the previous line after a match?
Thanks in advance!
~ Greg
OS/2 Files
Severity : blaa blaa blaa
Status: blaa blaa blaa
Finding Details: blaa blaa blaa
Manual Fix Procedures:
blaa blaa blaa
POSIX Files
Severity : blaa blaa blaa
St
t;;
}
do {
run();
print "Play again? ";
chomp($answer = );
} while (lc($answer) eq 'y');
--
Greg Donald
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
quot;$guess is too LOW!\n";
}
} while ($guess != $solution);
print "$guess is correct, YAY!\n";
print "Play again? ";
chomp(my $answer = );
if (lc($answer) eq 'y') {
run();
}
}
run();
TIA :)
--
Greg Donald
[EMAIL PROTECTED]
--
To unsubscri
>"Jenda Krynicky" <[EMAIL PROTECTED]> wrote:
>>From: GREG CARRARA <[EMAIL PROTECTED]>
>> Hello,
>> I'm trying to search for a word and replace it multiple files at a
>> windows command prompt with the following:
>>
>> perl -pi -
Hello,
I'm trying to search for a word and replace it multiple files at a windows
command prompt with the following:
perl -pi -e 's/wordToFind/replaceWithThisWord/gi'*.fileExtension
This errors out. I've tried to replace the delimiters / with - to no effect.
Does someone know how to alter this
On a different note. Does anyone know how to track events down to
milliseconds in the event log? I wrote a script which pulls out
HH:MM:SS.uu (WMI script) but .uu is all zeros.
TIA!
gc
Roy Sprague <[EMAIL PROTECTED]> wrote:
> -
> Attac
It looks okay now
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 12:45 PM
To: 'Jensen Kenneth B SrA AFPC/DPDMPQ'; '[EMAIL PROTECTED]'
Subject: RE: CPAN hacked? OT
Jensen Kenneth B SrA AFPC/DPDMPQ wrote:
> April fools joke or someone hac
You're right! I posted before I realized. But thanks to all who responded.
I can do exactly what I need!
-Original Message-
From: Mark Anderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 5:47 PM
To: Carrara, Greg; [EMAIL PROTECTED]
Subject: RE: trying to match var
Hello,
I'm trying to write a script that reads a file line by line and if the line
contains a space it puts quotation marks around it and writes it to another
file. I mostly have this working except that in the case of the lines that
contain the space it puts the quotation mark at the beginning of
Sorry - I am off on another tangent here.. "use locale;" is definately
not what you need. I should read more closely!
-Greg
On Mon, 28 Oct 2002 09:38:18 -0600
Goodman Kristi - kgoodm <[EMAIL PROTECTED]> wrote:
> I asked this question about a week ago but still have not
code/language/number
formatting, etc..) should be set to in the interpreter.
Try it and see if it works. If not, or the time is different, you may
want to read 1perldoc perllocale` and see what applies to you.
-Greg
On Mon, 28 Oct 2002 09:38:18 -0600
Goodman Kristi - kgoodm <[EMAIL PROTEC
Your locale is not set to CST6CDT.
See 'perldoc perllocale'
-G
On Tue, 22 Oct 2002 13:38:47 -0500
Goodman Kristi - kgoodm <[EMAIL PROTECTED]> wrote:
> My localtime function returns this: Tue Oct 22 18:30:53 2002
>
>
> I am in the Central Time zone and my machine time (net time at DOS
> pro
If you have no '{}'s in mid-line comments, you could -
#!/usr/bin/perl -w
use strict;
my ($open, $close) = (0,0);
while( <> ) {
$open += () = $_ =~ m'{'g unless /^#/;;
$close += () = $_ =~ m'}'g unless /^#/;
}
print "Opens: $open\nCloses: $close\n";
# bracket_check.pl < filename
-G
On T
on CPAN.
The process I am executing takes ~1 second to run, so after I have the script sleep(3)
to cut down on the resources. Is there something simple I am missing here that I
could use to do what i want?
Thanks,
Greg
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Beautiful! Cuts the CPU from 100% to nil for that second that was chewing the time -
I would have never thought of it though. Pretty new to programming and don't have the
full mindset yet.
Thanks,
Greg
On Thu, 17 Oct 2002 20:13:57 -0500
James Edward Gray II <[EMAIL PROTECTED
http://www.perldoc.com/perl5.6.1/lib/CGI.html
should get you what you need..
-G
On Mon, 09 Sep 2002 19:18:43 +
Mariusz K <[EMAIL PROTECTED]> wrote:
> Hi:)
> I want to be able to track the user as he goes from one pae to another. I
> heard that sessionID are used for that purpose. I was t
yntax to save on memory.. this is a 4500 element that can grow quite,
so the size of the reference I pass to the threads is important since
they are copied into each thread.
I was just trying to simplify for the example..
Thanks,
Greg
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
}
> >
> >
> >
> > sub SomeSub {
> > my ($refdata) = @_;
> > my ($cty, $dom, $eng) = @{$refdata};
> > .
> > (modify some data)
> > .
> > $Results{ $cty }{ $dom }{ $eng } = $newdata;
> > }
>
> if $newdata contains anything
ng } = $newdata;
}
well, when I get the keys/values at the end of the program, they are still from the
original hash creation. Ie, they all still equal "3"!
Anything simple I am missing?
BTW: I am also using threads with the Thread::Pool, Thread::Use, and LWP::UserAgent
modules.
Th
is 5.8.0?
Presumably Time::HiRes is a 5.8.0 module. If not, can you run
perl56?
YOu can do unshift @INC to prepend paths to search for modules first.
And what is a loadable object? I don't understand your problem
either.
--
Greg MathesonRather tha
wer is
d), but Larry Wall doesn't seem to crack so many jokes nowadays.
Perhaps he is older and wiser.
Perhaps his role as God with the Apocalypses, he doesn't need it
any more and can leave it to his Prophet, Damian Conway with the
Exegeses. Conway's humor seems to be in th
Hello,
I am trying to open up a text file where each field is parsed by |.
the problem is that its only reading the first line in the text file. I want
it to loop throughtout the the textfile and insert in a DB.
ANyhelp is appreciated...thnx
the code is:
open(GD, "$ktjpath/$ktjlist") || &dea
Hello,
I have a script which reads a list and then puts it into an array which is
then inserted into a mysql DB...
i was having problems with the part that reads the list and then splits up
the list that is parsed by | ..any help would be appreciated
open(GD, "$path/$list") || &death("Can't
Sorry I have not replied in a while, my email went down for the better
part of the day. Thank you all for the useful suggestions. I'm sure I
will get used to it after a while.
Greg
drieux wrote:
>
> On Tuesday, May 14, 2002, at 10:18 , Eley Greg wrote:
>
> > Thank yo
:
>
> On Tue, 14 May 2002 12:51:59 -0400 "Eley Greg" <[EMAIL PROTECTED]> wrote:
>
> > I am transitioning from Java to Perl and having a hard time rapidly
> > searching the documentation. Is there a documentation system akin to
> > Java or Python that makes
GREATLY appreciated.
Greg
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Is there a Perl News Group?
Thanks
KH
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm a beginner that doesn't even have perl yet.
I woul like to know whether Perl is faster or Java for business
applications.
Thanks
KH
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Is there any way i can split an array that contains information that i got
from the mysql database?
here's the code:
while(my @data = $sth->fetchrow_array){
print "@data\n";
right now its prints out for example:
1 greg [EMAIL PROTECTED] 1234 2 john [EMAIL PR
o sure of how a modules gets included in this list,
because there are modules in the list which I don't believe I
installed myself.
--
Greg Matheson It was said a million monkeys on a million typewriters
Chinmin College would eventually write the works of Shakespeare.
>request($req)->as_string;
}
else {
print "Scotty: Something happened to the script. Spock, check the dilithium
crystals.\nSpock: Check them yourself.\nKirk: Don't make me come down there.";
}
#END
Greg
--- Guy Davis <[EMAIL PROTECTED]> wrote:
Yes, you can download Apache and install it. You then can install Perl (if it's not
installed with
Apache) and run CGI scripts on your box like any web server.
Greg
--- Clive Lansink <[EMAIL PROTECTED]> wrote:
> I know that when I call up a local HTML file from within Intern
How about: print reverse(chomp @lines = );
?
Greg
--- Sukhpreet Singh <[EMAIL PROTECTED]> wrote:
> Why can't I do this?
>
> print chomp reverse(@lines = );
>
> or
>
> print chomp(reverse(@lines = ));
>
> I get
>
> Can't modify reverse in c
How would I check if a certain file exists in a certain directory?
I'm already using File::Find to process a bunch of mp3's, and before I
move/copy them to a different folder, I want to check if the file already
exists.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
what is the best way to check for the existence of a directory?
(windows/Linux)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
he hash that is printed out has varied
from 270 minutes to 311 minutes. Interestingly enough all the data is
identical until up until the dump ends.
When the parsing is done the contents of the hash are printed and this
is when I discovered the difference.
Ideas?
Greg
--
To unsubscribe,
r the $b array just:
while (defined($b=))
{
if ($b =~ /^Open Table/){
$c = index($b, "As");
$b = substr ($b,12, $c-14);
print "$b\n";
push(@TheNewArray,$b);
}
Hope that
put in the hash. I know
it isn't bullet proof what I've got now ... ie if the entries are not starting at
midnight and not occurring constantly.
I can't see to grab the date ... just day is important and compare it. Maybe I'm
going about this wrong.
Greg
#!/usr/bin/perl -w
Winnipeg, MB, Canada
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
is not TCP or UDP say ICMP as
the format of the line changes at bit. There is no port numbers.
With either TCP,UDP, or ICMP the 3rd line of each dump is not required.
If someone could help me with the structure/setup of this ... extracting
the data I would appreciate it.
Greg
PS is there a siz
ome I'm sure....but this is what we have been facing.
greg
--- pc <[EMAIL PROTECTED]> wrote:
> How widely is Perl Used in Java Shops?
>
> Pc
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http
I'm writing a cgi script that connects to an access DB in windows using
DBD::ODBC.
the program works great from the command line, but when I try to run it
from the browser, this is what I get
DBI->connect(mycddb) failed: [Microsoft][ODBC Driver Manager] Data source
name not found and no defau
unsubscribe
--
Gregory D. Tomczyk
IBM - Contractor
(503) 578-5390
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
How do I find where one string is in another?
if i have
$test = "one day I went to the zoo";
and I want to find how many characters into $test the word "went" is, how
do I go about that?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
elementary? oooh, that hurts =)
but you are right, I should have been using -w
Peter Scott <[EMAIL PROTECTED]>
10/24/2001 10:03 AM
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:Re: No such file or directory exists
At 09:01 AM 10/24/2001 -0500, [
ed by their counterparts above:
MouseClickScreenSend a left click to specified screen coordinates.
MouseDblClickScreen Send a left double click to specified screen coordinates.
Greg
>>> "Greg Wardawy" <[EMAIL PROTECTED]> 10/19/01 01:48PM >>>
>>&
rol by Acrasoft. You can find the information and the trial version at
http://www.acrasoft.com/ .
Greg
>
> You can use Win32::OLE as a way to get to an AutoIt control. AutoIt can
> do all kinds of things with external windows.
>
> [EMAIL PROTECTED]
> All opinions are my
Thanks Brian and Marcus.
$^O is exactly what I needed.
_brian_d_foy <[EMAIL PROTECTED]>
10/19/2001 08:44 AM
To: [EMAIL PROTECTED]
cc:
Subject:Re: accessing environment variables
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Greg F
How do I access Windows environment vars?
I want to be able to test whether I'm in Windows or Linux, and this seems
like a good way to do it.
If there is an easier/better way, I'm all ears.
Thanks
Greg
I'm using Win32::ODBC and trying to insert a record into an access
database.
This is the error I'm getting.
SQL failed. Error: [-3035] [1] [0] "[Microsoft][ODBC Microsoft Access
Driver] Operation must use an updateable query."
and this is the code I'm using
#Opening database
if (!($db = new
with
ASP (using the compenant ASP tear), but i'm loathe to use it. any help out
there?
greg
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
what module(s) would I need to connect to an access database?
and if I code an app that uses an access database, can that be easily
changed to MySQL or whatever just by changing the connect string?
TIA
Greg
ng is
possible with perl.
Thanks
Greg
are there multi-dimensional arrays in perl?
Hi,
I've been programming for a number of years, but I'm VERY new to Perl, and
it looks like a lot of fun. However, I'm very much in the learning stage,
so please be patient, I'm still learning all the keywords etc...
I'm curious how I can parse part of one variable into another
ex:
$part1 =
1 - 100 of 129 matches
Mail list logo