Hoi
I have an example of a install
Writing Makefile for Compress::Zlib
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/local/bin/perl /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.6.0/ExtUtils/typemap -
Hoi
I have try that.
It still refer to the "old" version.
The path that the module is installing and using is of the old version.
Greetings Miguel
/
(o o)
==oOO==(_)==OOo==
Miguel Demaerel
System Engineer -
Mehta, Perdeep wrote:
> Super! this works.
>
> I have one question, what are those spaces in between when I print as below, e.g.
>
> foreach my $acc (keys %hash){
>if ($acc =~ /1a1.f1b/) {
> print "[EMAIL PROTECTED]";
>}
> }
> produces following output:
> 1a1.f1b
> TAAATAGAGAGGTTCGA
Mehta, Perdeep wrote:
> Super! this works.
>
> I have one question, what are those spaces in between when I print as below, e.g.
>
> foreach my $acc (keys %hash){
>if ($acc =~ /1a1.f1b/) {
> print "[EMAIL PROTECTED]";
>}
> }
> produces following output:
> 1a1.f1b
> TAAATAGAGAGGTTCGA
Super! this works.
I have one question, what are those spaces in between when I print as below, e.g.
foreach my $acc (keys %hash){
if ($acc =~ /1a1.f1b/) {
print "[EMAIL PROTECTED]";
}
}
produces following output:
1a1.f1b
TAAATAGAGAGGTTCGACTCTGCATTTCCCAAATACGTAATGCTTACGGTACACGACCCA
A
> The problem I'm having is that it is skipping the next record
> since inner loop read the next start line. I'm sure there
> must be a better way. I will appreciate anyone suggesting a solution.
Try this:
my (%hash, $acc);
while (my $line = ) {
chomp ($line);
$acc = $1 and next
Hi,
I am looking for a solution to read a file with records that do not have end of each
record delimiter. Here is an example,
File:
>1a1.f1b bases 100 to 234 (SL to QR)
TAAATAGAGAGGTTCGACTCTGCATTTCCCAAATACGTAATGCTTACGGTACACGACCCA
AGCTCTCTGCTTGAATCCCAAATCTGAGCGGACAGATGAGCGCAGAGGACAG
GTT
The short answer would be to set a variable to the
output of the command using backticks. ie:
$id_info = `/path/to/id`;
chomp $id_info;
And then using various splits, you will be able to get
at individual pieces of the return.
HTH
JD
--- Márcio_Oliveira <[EMAIL PROTECTED]>
wrote:
> hi!
hi!
I need to get the user information
provide by the linux id comand in a perl script. how a can do that?
ex.
linux prompt# id root
uid=0(root) gid=0(root) groups=0(root),1001(teste)
<--- I need thid information.
thank's
Marcio Oliveira
LPIC-1
__
Miguel,
The installation location for perl mods is actually
baked into the perl package that you are using
(various Config.pm's).
I have two separate versions of perl (5.005.03 and
5.8.3) and use the cpan shell to download/install perl
mods.
If you go this route and just modify your path to pick
Hoi
I have a problem with compiling ppm packages.
I have 2 perl versions (5.6.1) and 5.8.5 (just installed).
I want to install packages on the 5.8.5 version.
cpan install yyy:zzz
The compile is always looking to the 5.6.1 libaries.
How can I compile it in the new version?
Thanks.
Greetings M
Title: Message
I'm attempting to send the contents of a 7000 line
array to an SMTP server via Net::SMTP.
This starts choking at around line 4100. It occurs
whether I send each line individually within a loop or the entire array at
once.
The subroutine code I'm using is absolutely identical
12 matches
Mail list logo