gainst my own
Curses-1.06.tar.gz package that I downloaded from CPAN.
Curses compiled and installed fine.
Bruno Negrao
- Original Message -
From: "Bruno Negrao"
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 03, 2003 6:40 PM
Subject: Installing Curses.pm on Red Hat 8.0
Hi
Hi,
I tried to install the Curses.pm module on my redhat linux 8.0 but I didn't
compile.
Does someone did it successfully? Any trick?
Thank you,
-
-- Bruno Negrão -- Suporte
-- Plugway Acesso Internet Ltda.
-- (31)34812311
-- bnegrao at plugway d
Hi, I'm trying to install a module from CPAN, the vpopmail.pm module.
I'm running redhat 8.0 + vpopmail 5.2.1.
When I run 'make' to compile the makefile created by the makefile.PL script,
i receive the following error messages:
-
Hi all, today I discovered a module, the Shell.pm module, which gives you
the possibility to run shell commands directly from perl.
to use it, you should try:
use Shell;
sub ls;
print ls('/etc');
What is the advantage of using all this syntax instead of simply use a:`ls
/etc`; ?
I mean, I don't k
d of the blank spaces in the last line, add try this:
foreach $line (@attt) {
if ($line =~ /=/){
$out = $line ;
$out =~ s/\s*//;
print "$out";
}
}
I learnt all this from the O'reilly book "Learning Perl second edition".
Tied hugs and warmfu
> Hi Javeed ,
>
> the last element of the array is $attt[$#attt]. If you have one line per
> element, that should do it.
Right. This is the easiest way. But, just to answer him, what he could do
using regular expression could be something like:
foreach (@attt) {
/=/ && ( ($out) = (split (/=/))
start_form; # hr() emits html horizontal rule:
print p("Please select a flavor: ", textfield("flavor","mint"));
print end_form, hr;
}
Thanks,
bnegrao.
- Original Message -
From: "Bruno Negrao - Perl List" <[EMAIL PROTECTED]>
Cc: <
Hello Nathanael and other guys,
> First of all, if possible, use the Llama 3rd, not 2nd.
It's not... :-(
> Second, can you give the expected output and the actual output.
I tried to send the pictures to this list but my e-mail was rejected as it
grew upon 5 bytes
In sumary, this script sh
Hi all,
I'm studying the "Learning Perl Second Edition" and I'm learning cgi now.
The book presents a sample cgi that doesn't produces the expected result as
the book says it would.
Could someone test it and say to me if there is something wrong?
The following script was retired from the section
Yes. Exist the Net::FTP module. The following text comes from the Oreilly's
book "Perl in a Nutshell"
16.2 Net::FTP
Net::FTP is used to transfer files from remote hosts. Using Net::FTP, you
can write simple FTP clients that transfer files from remote servers based
on information passed on the com
CTED]>
Sent: Friday, September 27, 2002 3:49 PM
Subject: Re: dbmopen can't open /etc/aliases.db file
> Bruno Negrao - Perl List wrote:
>
> > Ok david.
> >
> > Could you send me a code example of a database file being opened for
> > reading with tie?
> &
t open /etc/aliases.db file
> Bruno Negrao - Perl List wrote:
>
> > Hi Michael, the problem is not with the "undef" value - undef is fine -
> > if you read the dbmopen's documentation you could see it.
> >
> > If I choose a value like "0644"
lve this exercise, i'd like to know it the dbmopen()
really works with my system files.
Thanks for any help,
Bruno.
- Original Message -
From: "nkuipers" <[EMAIL PROTECTED]>
To: "Bruno Negrao - Perl List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]
lve this exercise, i'd like to know it the dbmopen()
really works with my system files.
Thanks for any help,
Bruno.
- Original Message -
From: "nkuipers" <[EMAIL PROTECTED]>
To: "Bruno Negrao - Perl List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]
quot; <[EMAIL PROTECTED]>
To: "Perl Beginners List" <[EMAIL PROTECTED]>
Sent: Friday, September 27, 2002 1:04 AM
Subject: Re: dbmopen can't open /etc/aliases.db file
> On Thu, Sep 26, 2002 at 09:38:18PM -0300, Bruno Negrao - Perl List wrote:
> > Hi,
>
> H
Hi,
I'm triyng to open the /etc/aliases.db file for reading with the dbmopen
function - the result is that I can't open the file for reading, or
something like this. yes, I have permission because I'm root.
My script is:
#!/usr/bin/perl -w
use diagnostics;
dbmopen(%ALIAS,'/etc/aliases',undef) ||
Hi all,
Could someone say to me why this program doesn't run? (it doesn't print the database
values)
#!/usr/bin/perl -w
dbmopen(%a,"testdb",0666) || die "couldn't create/access the file $!";
$a = $b = 0;
until ($a < 20){# create items in the testdb.db file
$a{key$a} = $b;
$a = $b
17 matches
Mail list logo