Your input is appreciated !
José.
> -Original Message-
> From: david [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 27, 2003 8:16 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Concurrency problem
>
>
> Nyimi Jose wrote:
>
> >
> > #!/usr/bin/perl -w
> > use strict;
> > use Proc::Proce
hi
I haven't installed anything yet
now i have some better idea
i am trying to install - without success
i downloded from the ftp site- extracted & then giving command
C:\Perl\bin>perl ppm install
C:\pradeep\net\perl\Bin\AdminMisc_5006/win32-daemon
.ppd
result
On Sun, 26 Jan 2003 16:56:50 -0500, [EMAIL PROTECTED] (Ed Sickafus) wrote:
>Since loading MLDBM-2.01, non-root, on an Apache
> Cobalt Linux release 5.0 (Pacifica)
> Kernel 2.2.16C27_III on an i586 running Perl 5.005_03
>a few weeks ago, I've experienced inconsistent di
John W. Krahn wrote:
> The code looks pretty good over all, just a couple of minor nits. :-)
Thank you!! Nits are good.
I agree that variables declared "just in time" tend to be more
self-documenting. I had some code manageability issues early on, so I was
moving quite a few variable definition
I recreated a problem in my program in a small code sample. The code below
is giving me the following output at the console and I have no idea why:
Output:
line 1áline 3
I am seeing a lower case 'a' with an acute accent between 'line 1' and 'line
3'. Any idea what is going on?
use strict;
use wa
Hi everyone,
I am have a probelm and I was hoping you could help.
I am reading a line from a file and splitting it into
a 2 dimensional array, this is no probs..
BUT i want to get rid of " < > and , out of each line
- how do i do this ???
Thanks for your help in advanced
Anadi
__
dear friends i'm in work place and i'm facing a problem of replacing an ascii
character with some other ascii character i cut the ascii character from my word
document and pasted it in my pear programme but the result is not as i expected. plese
give me answer with simple codeing and also say m
R. Joseph Newton wrote:
> Bob Showalter wrote:
> This looks suspicious. I'd say your CPAN config is fubar.
>
> Hi Bob,
>
> Maybe I'm spoiled here, as I've always worked in integrated
> development environments, and only ventured into Perl; when I
> saw a good, transparent, installer available fr
Hi,
I am trying to connect to MYSQL through my perl script.I am using windows 2000 and
activeperl.
I am using Net::MySQL to connect with database.But it is giving error :
Couldn't connect to /tmp/mysql.sock: at E:\PERLTR~1\perl\VALIDA~1.PL line 12
My script is as follows:
#!/usr/local/bin/perl
pr
On Tue, 28 Jan 2003 08:38:25 -0500, Bob Showalter <[EMAIL PROTECTED]>
wrote:
> R. Joseph Newton wrote:
> > Bob Showalter wrote:
> > This looks suspicious. I'd say your CPAN config is fubar.
> >
> > Hi Bob,
> >
> > Maybe I'm spoiled here, as I've
>
> Dan Muey wrote:
>
> >
> > Line 30 in that file is :
> > our $VERSION = sprintf("%d.%d", q$Revision: 1.5 $ =~
> > /(\d+)\.(\d+)/);^M
> >
> > Notice that ^M? that's all over the file. I did
> > perl -e '@f = `cat Multipart.pm`;foreach $l(@f) { $l =~ s/\^M//g;
> > print $l; }' > Multipart2.
Angela_work wrote:
> Hi all,
>
> I have cgi.pl file in internet server. I would like to copy a log file(read
> only file) in J:\ (which I map it to the other server) to my d:\temp folder.
> With the following code, I got "can't open input : Permission denied"
> message when I open th cgi.pl file t
Have you tried put a semi-colon and space on the end of each users name?
@names=([EMAIL PROTECTED]; ,[EMAIL PROTECTED]; ,[EMAIL PROTECTED]; );
Terry
-Original Message-
From: Scott, Deborah [mailto:[EMAIL PROTECTED]]
Sent: 27 January 2003 22:54
To: [EMAIL PROTECTED]
Subject: RE: Email fun
on Tue, 28 Jan 2003 01:27:15 GMT, [EMAIL PROTECTED] (Pankaj
Kapare) wrote:
> Hi,
> I am trying to connect to MYSQL through my perl script.I am using
> windows 2000 and activeperl. I am using Net::MySQL to connect with
> database.But it is giving error : Couldn't connect to
> /tmp/mysql.sock: at E
Swami wrote:
> I am reading a line from a file and splitting it into
> a 2 dimensional array, this is no probs..
> BUT i want to get rid of " < > and , out of each line
> - how do i do this ???
You can use the transliteration operator for this. You will have to use the d
modifier to tell it
>
> Swami wrote:
> > I am reading a line from a file and splitting it into
> > a 2 dimensional array, this is no probs..
> > BUT i want to get rid of " < > and , out of each line
> > - how do i do this ???
>
> You can use the transliteration operator for this. You will
> have to use the
Hi,
this is the output of profiler showing the bottle neck of a program.
count wall tm cpu time line
14788 0.00 0.0082:sub check_positive{
14788 0.072474 0.2683:local $a = 0;
14788 0.072475 0.2784:my ($addr) = @_;
14788 0.630970 0.71
Hello,
I'm really hitting abrick wall here. Any help or insight would be greatly appreciated.
I'm trying to get this Module installed:
http://search.cpan.org/author/DROBERTS/Net-SMTP-Multipart-1.5/
[ console output below with step by step actions ]
The line in the Multipart.pm file :
our $VE
Should be a simple question. I am trying to only print the element of the
hash, that matches the $user string but it prints all of the elements. What
am I missing.
Thanks
$user = "jsmith";
my %lookup = (
'jsmith' => "jsmith1",
'djones' => "djones2",
'tday' => "tda
Try replacing "==" with "eq"
print "$lookup{$key}\n" if $key eq $user;
> -Original Message-
> From: Kipp, James [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 28, 2003 3:12 PM
> To: [EMAIL PROTECTED]
> Subject: Trouble with hash lookup
>
>
> Should be a simple question. I am tryin
thanks, Ed.
I am pretty embarresed now :-)
> -Original Message-
> From: Ed Christian [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 28, 2003 3:19 PM
> To: Kipp, James; [EMAIL PROTECTED]
> Subject: RE: Trouble with hash lookup
>
>
> Try replacing "==" with "eq"
>
> print "$lookup{$k
>Should be a simple question. I am trying to only print the element of the
> hash, that matches the $user string but it prints all of the elements.
What
> am I missing.
print "$lookup{$user}\n";
> Thanks
>
> $user = "jsmith";
> my %lookup = (
> 'jsmith' => "jsmith1",
> 'djones'
Hi James
James Kipp wrote:
> Should be a simple question. I am trying to only print the element of
> the hash, that matches the $user string but it prints all of the
> elements. What am I missing.
> Thanks
>
> $user = "jsmith";
> my %lookup = (
> 'jsmith' => "jsmith1",
> 'djones'
>
>
> You can just do:
>
> print "$lookup{$user}\n";
>
> HTH,
Now am even more embarrassed :) Thanks Rob.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Tue, 28 Jan 2003, Rob Dixon wrote:
> >
> > $user = "jsmith";
> > my %lookup = (
> > 'jsmith' => "jsmith1",
> > 'djones' => "djones2",
> > 'tday' => "tday3",
> > );
> >
> > for my $key (keys %lookup) {
> > print "$lookup{$key}\n" if $key == $user;
> > }
>
> Ed is rig
Resending this message.. I don't know if it went out last time...
Thanks for any help you can offer.
___
Hey guys:
I'm still very new to perl and I need to know if this is at all possible...
If possible... any ideas on how to go about it...
Here is the deal... I would l
Carlos Diaz wrote:
>
> I'm still very new to perl and I need to know if this is at all
> possible... If possible... any ideas on how to go about it...
>
> Here is the deal... I would like to build a database with addresses for
> specific last names extracted from one of the online directories su
>
> Hey guys:
>
> I'm still very new to perl and I need to know if this is at all possible...
> If possible... any ideas on how to go about it...
>
Anything's possible with Perl.
/me putting away pom-poms...right.
> Here is the deal... I would like to build a database with addresses for
> specif
For starters, it looks like most of your replacements should use the tr///
function (also known as y///).
http://www.perldoc.com/perl5.8.0/pod/perlop.html
For seconds, $ln=~s/'/'/gis; looks like a no-op to me.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
>To make this work, you have to specify the list variable ($i):
>$file = "/suidbin/sendmail -t";
>$var = "the_file.txt";
>
>open(FILE, "$var") || die "cant open text file";
>@file = ;
>close(FILE);
>foreach $i (@addressee) {
> open(MAIL, "|$file $addressee") || die "can't open sendmail";
>
Hello,
It seems from what I find on google is that
The error :
Can't modify subroutine entry in scalar assignment ...
Has to do with the version of perl.
One person upgraded and that problem went away but a different on ecame up.
One message was a module author saying
'Are you using 5.005? Rat
David Eason wrote:
>
> I recreated a problem in my program in a small code sample. The code below
> is giving me the following output at the console and I have no idea why:
>
> Output:
> line 1áline 3
>
> I am seeing a lower case 'a' with an acute accent between 'line 1' and 'line
> 3'. Any idea
Dan Muey wrote:
>
> $line =~ s/\<|\>|\,|\"//g;
> or
> $line =~ s/[<>",]//g; # but you may have to backslash the chars here, not sure
> exactly, try it and see.
You don't have to backslash these characters as they are not special in
regular expressions
$line =~ s/<|>|,|"//g;
However using tr/<>
Kasi ramanathen wrote:
>
> dear friends i'm in work place and i'm facing a problem of replacing an
> ascii character with some other ascii character i cut the ascii character
> from my word document and pasted it in my pear programme but the result
> is not as i expected. plese give me answer with
Marija Silajev wrote:
>
> Hi,
Hello,
> this is the output of profiler showing the bottle neck of a program.
>
> count wall tm cpu time line
> 14788 0.00 0.0082:sub check_positive{
> 14788 0.072474 0.2683:local $a = 0;
James Kipp wrote:
>
> Should be a simple question. I am trying to only print the element of the
> hash, that matches the $user string but it prints all of the elements. What
> am I missing.
> Thanks
>
> $user = "jsmith";
> my %lookup = (
> 'jsmith' => "jsmith1",
> 'djones' => "dj
Deborah Scott wrote:
>
> >To make this work, you have to specify the list variable ($i):
>
> >$file = "/suidbin/sendmail -t";
> >$var = "the_file.txt";
> >
> >open(FILE, "$var") || die "cant open text file";
> >@file = ;
> >close(FILE);
> >foreach $i (@addressee) {
> > open(MAIL, "|$file $ad
Kais,
Those are not ASCII characters. Nor arem ost of them control characters. They are
extended charcters, based on an unsigned, rather than signed, char type. ASCII proper
only extends to character 127, the upward-pointing triangle [or the character so
rendered by my command environment].
38 matches
Mail list logo