em with yum, you might issue the
following command:
yum install mysql-devel
HTH,
Josh Miller, RHCE
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Mazhar wrote:
Hi Folks,
i have a requirement where in i need to send alerts to a set
of users for which i have developed a script and it is working fine.
For the body of the mail i am writing into a text file everytime and i
am sending across using the command,
cat "textfilename" | mail
Luinrandir wrote:
ok this is the code i have so far
there it is... since i don't know how to call/capture/open the web page and
get the HTML to a variable, there is not much I can do.
Once I get the HTML into a var.. i can do the rest.
as to moduals.. i barly know perl.. much less modu
Hello All,
I am trying to use the module HTTP::Request. I tried to use the code given in
perldoc HTTP::Request
Here is my code
==
#!/usr/bin/perl -w
use strict;
require HTTP::Request;
require LWP::UserAgent;
my ($request,$response,$ua);
$ua = LWP::UserAgent->new;
$request = H
I have a scenario in which palettes are weighed prior to delivery and
then that data is submitted to a server. Once the data is transferred,
I have to parse a batch file and strip out information for each shipment
number and format it for print.
The problem is that one shipment might have more
All,
I'm trying to determine what is wrong with this script. Here is what
I'm trying to do:
1.) Export the output of the following command to a file located at
c:\perl\bin\log\accessreport.log
Global "Domain Admins" ARFW > c:\perl\bin\accessreport.log
2.) For each line of informati
> I'm writing a webmin module and I'm trying to add a search function
> in right now but after I search for it and try to display the output
> it has a problem with the way the output is formatted.
>
> print "searchtest<10>"; will print searchtest<10>
> print "searchtest< gimp><10>"; will print
-- Original Message ---
From: "LI NGOK LAM" <[EMAIL PROTECTED]>
To: "Josh Corbalis" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Sent: Wed, 23 Jul 2003 02:52:16 +0800
Subject: Re: print command help
> ----- Original Message -
> Fr
I'm writing a webmin module and I'm trying to add a search function in right
now but after I search for it and try to display the output it has a problem
with the way the output is formatted.
print "searchtest<10>"; will print searchtest<10>
print "searchtest< gimp><10>"; will print searchtest< gi
I've been coding some basic programs learning perl and I'm having some
problems with the or operators. Here are a couple coding samples if anyone
knows what I'm doing wrong with this please tell me.
#!/usr/bin/perl
$gimp=;
chomp ($gimp);
if ($gimp eq "gimp" || "gimps") {
print "working";
}
Access Databases with perl?
Look up "MDB Tools" on Freshmeat.net
--
-Josh Berkus
Aglio Database Solutions
San Francisco
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
of
advanced or extended SQL if you knew the particular database, or experiencing
horrible performance becuase of "standard" queries that hit a particular
database's worst performance areas.
"Database Independance" is a design strategy with specific and substantial
tr
n introductory book and has some other problems, but does do a
good job of comparing MySQL, MSSQL, PostgreSQL, and Oracle on a
command-by-commmand basis.
--
Josh Berkus
Aglio Database Solutions
San Francisco
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ssible to grasp without a tutorial; I recommend
the "Llama Book" othewise known as "Learning Perl", which spends 3.2 chapters
on regular expression handling.
(PS. Please pardon the crude regular expression and any syntax errors)
--
-Josh Berkus
Aglio Database Solutions
San
James,
> Tie::File can be retrieved off of the CPAN for earlier versions of Perl
> where is wasn't standard, if you can install modules.
Yeah. Sadly, it's a vendor system :-( I can't install anything.
Happily, copying file content is very fast, even with 40,727 lines in
#x27;m not :-(
So I'll just transfer the file from one to another.
Thanks again.
--
-Josh Berkus
Aglio Database Solutions
San Francisco
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
nd an easy way to do this.
Pointers to online docs are fine with me.
--
-Josh Berkus
Aglio Database Solutions
San Francisco
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To clarify in my earlier posting, the part where I say,
I have played with chown but the fact is "nobody" can't chown a file
that belongs to "root". For grins I did:
chown nobody:nobody ./fooness.cfg
chmod 666 ./fooness.cfg
I meant that I issued those commands from the command line. So
The error message is as follows
In string, @63 now must be written as \@63 at -e line 1, near "#foo-bar
Target[789]:
1.3.6.1.2.1.10.32.2.1.7.57.789&1.3.6.1.2.1.10.32.2.1.9.57.789:SNMPSTRING@IP"
Execution of -e aborted due to compilation errors.
The code is as follows, but well, the @ is escaped s
unt to 100 hours, i need
to figure out how to script it so that it replaces the number with the new one..know
what i mean?
Josh
Hey guys..
I wrote a script that writes to a dat file with the following username:plan: ..
example test:20:
they have 20 hours of 'dialup' access.
If say the user "test" calls and wants to upgrade their plan to 50 hours (our next
plan) how would i write to the dat file and just replace the
t people will Never Forget
> how you made them feel.
>
> < Any suggestion are welcome to me >
> __
>
--
- josh
N8MSO
20A8 2FC6 9099 D215 78F4 D005 B9F3 21C4 300C C25E~. .~ Tk Open Systems
=}ooO--U--Ooo
I have a group of functions that are dependant on several global
variables (yes I know tightly coupled functions are bad). I would like
to split these off into a module but as far as I know that require a)
explicitly declaring the name space of the variable or b) passing them
into the module nam
I'm not sure exactly whats going on here. It seems the combination of
strict and POSIX ":sys_wait_h" is fine... but just POSIX seems to stop
the strict bareword warnings. Any idea whats going on here? (exporter
wierdness?)
#!/usr/bin/perl -w
use POSIX;
#use POSIX ":sys_wait_h";
use strict;
sy
I've working on a small webserver that uses only core perl modules. The
design is similar to apache prevous to 2.0. Anyways in some simple load
testing I've noticed the the connection latency is ~3.3msec under perl
and ~0.7msec for apache. Since these are both on the same host and both
are simp
ut, $spool, $to, '', $relay);
}
else
{
syslog('info', "Error: no match, line " . __LINE__ );
return 'ERROR';
====
--
-
Hi all,
I'm reading Mastering Regular Expressions and it discusses a
non-greedy version of star. can someone explain how to write this
non-greedy version of star. (i.e. how does it differ than just *)
--
- josh
20A8 2FC6 9099 D215 78F4 D005 B9F3 21C4 300C C25E~. .~ Tk
Hi all,
I've searched the perl FAQs and havent found the what im looking
for. I want to read parts of /var/log/maillog (like from: and to:) into a
hash inorder to generate mail statistics afterwards. can someone tell me
where i can read docs on how to do this?
--
- josh
20A8
28 matches
Mail list logo