I need help installing DBI & DBD Modules on a server running Solaris 8.There are
multiple instances of perl installed on this server. The question is how do I install
DBI and DBD to point to a particular instance of perl. For example /apps/bin/perl.
Thanks,
[EMAIL PROTECTED]
-
Hi,
the call
$name = system"uname -a";
prints the result to STDOUT an not in the variable §name
What can i do to get the result into the $name variable?
Greetings
Willy
_
MSN - More useful every day http://www.msn.de
--
To
Ramprasad A Padmanabhan <[EMAIL PROTECTED]> wrote:
> I am sure this must have been asked before But I cant find it
>
> How do I find if
> $str has any special chars ( I mean above 127 in the ascii range )
>
> I do not want to do an ord of each character
>
> like while($str=~/(.)/g) { return('
On 15 Nov 2002, Matt Simonsen wrote:
> I've tried using DB_File open a hash and write a hash of hashes to disk,
> but this failed. I read in Perl Cookbook to "just use it as a regular
> hash" but from what I can tell this is not possible when speaking of
> complex structures like a hash of hashes.
I've tried using DB_File open a hash and write a hash of hashes to disk,
but this failed. I read in Perl Cookbook to "just use it as a regular
hash" but from what I can tell this is not possible when speaking of
complex structures like a hash of hashes.
I'm currently dumping this structure to disk
Hello everybody,
Does someone know how to easily convert a file
from DOS CHARACTER SET to ANSI CHARACTER SET?
A line, for example, from:
19/10/2002 03:06 757281 \Apresenta‡äes\Aquarium.zip
To:
19/10/2002 03:06 757281 \Apresentações\Aquarium.zip
Thanks in advance,
Josimar
HI !, Please could someone tell me how I can to update my Perl 5.005 to Perl
5.8 and keeping the modules installed currently? Or none problem related to
modules exists atn updating?.
Thank you.
Ernesto Freyre
Área de Operaciones
Qnet - Servicios Internet
Telf. 241-4122 anexos 2245/2244
www.qnet.
David,
I have changed the code !again! and I am now getting the following error.
400 (Bad Request) Library does not allow method HTTP::Request=HASH(0x8061330) for
'http:' URLs Client-Date: Fri, 15 Nov 2002 20:41:59 GMT
===
$ua = new LWP::UserAgent;
$hr = HTTP::
Since you have single quotes around the http, then the $appendURL
will not expand.
Wags ;)
-Original Message-
From: Mac Rost [mailto:mrost@;travelnow.com]
Sent: Friday, November 15, 2002 11:13
To: [EMAIL PROTECTED]
Subject: RE: failure notice
All:
Well I have change some of the
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:gkhgkh@;attbi.com]
> Sent: Friday, November 15, 2002 3:12 PM
> To: [EMAIL PROTECTED]
> Subject: Remotely Change Def GW on Win32
>
>
> Does anyone know of a way to change the def gw remotely using perl?
>
> Thanks in advance.
>
> --
You can do it via the registry, but you will need to reboot afterwards...
Go to http://www.roth.net/perl/scripts/scripts.asp?Tcp-Ip-Info.pl. The
script there should give you an idea of where to find the information. On
2000/XP, it's a bit more complicated than NT.
-Original Message-
Fr
Does anyone know of a way to change the def gw remotely using perl?
Thanks in advance.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
All:
Well I have change some of the code and here's the change:
==
$ua =3D new LWP::UserAgent;
$request =3D new HTTP::Request POST =
'http://www.travelnow.com/external/xmlinterface.jsp$appendURL';
$response =3D $ua->request($request);
print $r
I often use the quick and dirty approach of just using back-tics to make a
system call to my other perl script (or program) and grab its output for my
own program
like this:
#!/usr/bin/perl -w
#my first script
#initialize a variable to pass
$x="foo";
#call 'secondScript.pl' with "foo" as an arg
Hi Melanie
If it's regex you wanna use, here it is :
$fullpath = '/usr/local/home/mel/file.txt';
$fullpath =~ /(.*)\/(.*)\.(.*)/;
$path = $1;
$file = $2;
$ext = $3;
-aman.
-Original Message-
From: Melanie Rouette [mailto:mrouette@;omnisig.com]
Sent: Friday, November 15, 2002 8:49 PM
To
On Fri, 15 Nov 2002, Melanie Rouette wrote:
> Hi,
> I have something like: /usr/local/home/mel/file.txt and I'd like to
> strip it so that I can put the path in a variable, the file name in
> another one and the extention in a another one as well. How do I do
> that, can I do it all in a same e
List,
I have just started with the following code that *should*
send and XML over HTTP request and receive the response, but there is a pblm, and I
can't for the life of me figure it out.
code:
#!/usr/bin/perl -w
BEGIN {
$| = 1;
open (STDERR, ">&STDOUT");
print qq
Hi,
I have something like: /usr/local/home/mel/file.txt and I'd like to
strip it so that I can put the path in a variable, the file name in
another one and the extention in a another one as well. How do I do
that, can I do it all in a same expression. Something like, $path =
/usr/local/home/me
Hi all,
I've got the solution which is better tahn the one I've had before: it
uses the perl XML:parser
#!/usr/bin/perl -w
use vars qw(%startsub, %endsub);
%startsub = (
"energieverbrauch" => "",
"energietraeger" => "",
"bezeichnung"=> "",
"wert" => ""
);
%endsub =
Hello,
I am actually reading the o'reilly Perl-book but I just picked out the
things I needed. I will follow your advice and read it from the beginning.
to the code:
at least something happends
If I run the script I get following output:
wert - 10110
bezeichnung - Hohz, Holzkohle
energiev
Hi all
I am firing another script script2.pl from script1.pl
using
system("remsh $remhost -l root \"sh -c /script2.pl 1>&- 2>&- &\"")
such as another cripts runs without any user interaction
You can take it as " system("remsh $remhost -l root \"sh -c /script2.pl )
simply
I want to pass some
Angerstein said:
> Hello,
>
> I have a stupid Problem:
> I have to translate a lot of ASCII-Codenumbers (49,54,110) into
> Charakters.
>
> How can I do this? Do I have to make a
>
> if ($number == 49){ print ']';}
>
> Or is there an better, faster, smarter way.
>
> I could not find anything ab
Use the chr function.
print chr( $number );
Tanton
- Original Message -
From: "Angerstein" <[EMAIL PROTECTED]>
To: "Mailinglist Perl Beginners" <[EMAIL PROTECTED]>
Sent: Friday, November 15, 2002 6:16 AM
Subject: HELP: How to translate ASCII-CODE to ASCII-Charakters
> Hello,
>
> I hav
Hello,
I have a stupid Problem:
I have to translate a lot of ASCII-Codenumbers (49,54,110) into
Charakters.
How can I do this? Do I have to make a
if ($number == 49){ print ']';}
Or is there an better, faster, smarter way.
I could not find anything about that, maybe there is a possibility
Sorin Marti wrote:
>
> Hi all,
Hello,
> I,ve got a problem. Following Code reads an Example-String in XML-Style,
> filters out the necessary information and writes it in a HASH. Now I
> want to read a file and not only one String. I thought that I can just
> put a while-loop around my code but t
Ramprasad A Padmanabhan wrote:
There is no problem in this line ( only 'yourdomain' is not a qualified
domainname I hope you have taken care )
There must be some other problem in the code or otherwise.
If you can change the domainname to your own server and start smtp
server in debug mode and c
Ramprasad A Padmanabhan wrote:
There is no problem in this line ( only 'yourdomain' is not a qualified
domainname I hope you have taken care )
There must be some other problem in the code or otherwise.
If you can change the domainname to your own server and start smtp
server in debug mode and c
hey dont expect to be spoon fed every time
ok do this
On Fri, 2002-11-15 at 14:32, Sorin Marti wrote:
> Thanks for answering...
>
> Now the Script runs but it does not print anything out
>
> [print $key." - ".$werte{$key}."\n";]
>
> The script looks like that now...
This should work
>
>
hi
You can definitely connect two perl scripts.One example is passing the scriptname of
one program as argument to the second one.But the same thing can be very easily done
with the help of functions as in modular programming.
do get back if i am not clear
thanx
raj
__
On Fri, 15 Nov 2002, Ramprasad A Padmanabhan wrote:
> This will help you
>
> open (FILE, "
> {
> local($/)=undef;
> $text = ;
This will read the entire file ("text.xml") into $text
>}
> while($text = )
Making the while here redundant
--
To unsubscribe, e-mail: [EMAIL PROT
On Fri, 15 Nov 2002, Sorin Marti wrote:
> Hi all,
>
> I,ve got a problem. Following Code reads an Example-String in XML-Style,
> filters out the necessary information and writes it in a HASH. Now I
> want to read a file and not only one String. I thought that I can just
> put a while-loop arou
Hello Sorin -
I don't know - I'm too lazy to look hard at your code :)
Why don't you load XML::Simple from CPAN - it can be setup
to do everthing you want!
Aloha => Beau.
-Original Message-
From: Sorin Marti [mailto:mas@;semafor.ch]
Sent: Thursday, November 14, 2002 9:52 PM
To: [EMAIL P
Welcome to this group
So you are new to perl too ? If so start at the foundation.
For your immediate task use something like Mail::Message
Best of Luck
Ram
Thejaswi narayana wrote:
Hello ,
I am a new member to the group and this is my
first mail to the group. I have an assignment i
on Fri, 15 Nov 2002 08:23:57 GMT, [EMAIL PROTECTED] (Thejaswi
narayana) wrote:
> I have an assignment in which
> i have to separate mails based on the from field. I am
> working on Linux(Redhat 7.2). I want guidance from u
> ppl regarding this.I want to know how i can parse a
> mail header and de
This will help you
open (FILE, ";
}
while($text = )
# Parse here
Sorin Marti wrote:
Hi all,
I,ve got a problem. Following Code reads an Example-String in XML-Style,
filters out the necessary information and writes it in a HASH. Now I
want to read a file and not only one String. I thought
Hello ,
I am a new member to the group and this is my
first mail to the group. I have an assignment in which
i have to separate mails based on the from field. I am
working on Linux(Redhat 7.2). I want guidance from u
ppl regarding this.I want to know how i can parse a
mail header and details
36 matches
Mail list logo