> Unfortunately, foreign nationals do not have respect for the rights of
> American created property.
I'll stick only to this stupid sentence on of the stupidest I've ever
heard.
It seems author of this sentence doesn't understand the logic it is working
these days. I hope this is the last mail o
Hi Beginners and Scott,
I think I qualify as an "oldie" (in as when I learned to program - 1968,
Autocoder) and a "newie" (in as when I became aware Perl might be a fun
language to learn - 2000). In between I have been doing not a lot of
programming per se. But in the last couple of years expos
On Jun 17, Lonya said:
>Say I have a line like this:
>This *s a te*t, this *s only a te*t.
>
>And I'd like to replace "te*t," with "test," after a dictionary lookup.
>Well, I can split out the punctuation easily enough, but I don't know
>how to join it back in later.
You probably want to use a r
you can just do this before you spell check.
{
s/./ ./g; # Would make Test. Test .
s/,/ ,/g; # etc. for other punctuation marks.
spellcheck
s/ ././g; # Make Test . back to Test. after spell check
I have to remove punctuation so that I can look in a dictionary to list all possible
completions of the english word: "te*t".
ie. teat teet tent test text
If I leave the punctuation in, there will be no dictionary matches on "te*t,".
Is that clearer now?
Lonya
---
The tagline below makes free
At 11:10 PM 6/17/01 -0400, Ronald J. Yacketta wrote:
>I am a bit lost.. all the references to fork() are in the if/else context.
>
>so, I would wrap the fork code into a sub and then call that sub passing it
>the array each time??
Not necessarily. But it would look neater.
>please forgive my ig
On Sun, Jun 17, 2001 at 07:35:06PM -0700, Lonya wrote:
> Hi all,
>
> I could use some help. I'm trying to retain punctuation in sentences
> when doing a spell check.
>
> Say I have a line like this:
> This *s a te*t, this *s only a te*t.
>
> And I'd like to replace "te*t," with "test," after a
At 05:35 PM 6/17/01 -0400, Ronald J. Yacketta wrote:
>Folks,
>
>Can someone shed some light on using fork to spawn 2+ simultaneous process?
>I am reading in allot of logfiles and splitting them into 3 separate arrays.
>Currently I am forking and doing a exec("egrep", "-c", "Err", @array1);
>(yes,
Folks,
Can someone shed some light on the ability to kick off simultaneous process
at once within perl. I would like to kick off two system level commands at
the same time, as I mentioned before I am populating 2 arrays with filenames
to be processed. I would like to kick them both off at the sam
Hi all,
I could use some help. I'm trying to retain punctuation in sentences when doing a
spell check.
Say I have a line like this:
This *s a te*t, this *s only a te*t.
And I'd like to replace "te*t," with "test," after a dictionary lookup. Well, I can
split out the punctuation easily enough,
Well, I got so involved with the DBI portion that I didn't get into the CGI.
For a very good tutorial on CGI (doing it the right way) including step by
step instructions on building the web app as a whole, look at this site (it
is still under construction, but is very good):
http://www.peacecompu
This is from quite a while ago (it's been a while since I've used MySQL) but
it should work as a simple example:
use DBI;
my $database_name = 'intra_data';
my $location = 'localhost';
my $port_num = '3306'; # This is default for mysql
# define the location of the
On Sun, 17 Jun 2001, Paul Burkett wrote:
> Does anybody know how to send direct commands to your
> serial port through perl? I would appreciate any help, thanks
Type 'perldoc -q serial' -- you will get a FAQ entry on reading and
writing to the serial port.
-- Brett
Does anybody know how to send direct commands to your
serial port through perl? I would appreciate any help, thanks
=
- Paul Burkett
__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
Folks,
Can someone shed some light on using fork to spawn 2+ simultaneous process?
I am reading in allot of logfiles and splitting them into 3 separate arrays.
Currently I am forking and doing a exec("egrep", "-c", "Err", @array1);
(yes, ugly but it is just the beginning!) this works well
if I we
[EMAIL PROTECTED] [[EMAIL PROTECTED]] quoth:
*>
*>I swear I wont be stealing anyones code for my own, all I want is just a
*>"road map" for my own educational purposes. If anyone wouldn`t mind
*>sharing or could point me in the right direction, it would be *immensely*
*>appreciated!
I was in the
Helo,
I am relatively new to the whole perl/cgi thing. (my high school pascal
class makes my ears bleed, and I needed something to make my time
worthwhile :) )
I don`t know about everyone, but the best way that I learn is by example.
I am prone to falling asleep when reading as I bore easily (RT
On 18 Jun 2001 03:45:57 +0800, Chan Jennifer wrote:
> Hey folks,
>
> Please don't scold me if I am asking a very stupid
> question. =)
>
> I am now handling some sort of text files,
> however, they are eating me a lot of harddisk.
>
> I tried to using PACK, however, I found that I cannot
> unpa
Hey folks,
Me again =) I've using a script like this.
print "Content-Type:image/gif\n\n";
open (IMG, "image.gif");
binmode(IMG);
while (read IMG,$buffer,1)
{ print $buffer }
I don't know why, the graphic output sounds like
abstracted together..., means incorrect output anyway,
but I've able t
Hey folks,
Please don't scold me if I am asking a very stupid
question. =)
I am now handling some sort of text files,
however, they are eating me a lot of harddisk.
I tried to using PACK, however, I found that I cannot
unpack it if I pack the file with "B" or "H"...
Would anybody have any idea
_
Do You Yahoo!?
«Ø¥ßÓ¤Hºô¯¸ http://geocities.yahoo.com.hk
Build your own website at http://geocities.yahoo.com.hk
21 matches
Mail list logo