Nath, Alok (STSD) wrote:
Hi,
I have a file from which I have to pick a line like this
and get the values of Par, Default and RootOnly.
Par=som Default=yes RootOnly=no Shared=force
I am trying something like below.But the code is becoming long.
Anything
Thanks .It serves the purpose.
-Original Message-
From: Rob Dixon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 12:42 PM
To: beginners@perl.org
Cc: Nath, Alok (STSD)
Subject: Re: How to get the values
Nath, Alok (STSD) wrote:
Hi,
I have a file from which I have
On Friday, April 5, 2002, at 06:57 , Elaine -HFB- Ashton wrote:
[..]
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed-new();
foreach my $module ($instmod-modules()) {
my $version = $instmod-version($module) || ???;
print $module -- $version\n;
}
[..]
Ok - that is cool for
drieux [[EMAIL PROTECTED]] quoth:
*
*My real concern is grovelling through old grot to figure out
*like what it Thinks It is dependent upon.
*
*This way folks could self grovel their code and be able to
*provide their basic 'my code needs' foo info when presenting
*questions about the code
On Mon, 28 Jan 2002, Martin A. Hansen wrote:
$extract = qw (en tre ni);
# foreach $number (qw en tre ni) {
foreach $number ($extract) {
ummm... shouldn't this be
forwach $number (@extract) { ?
^ note the @
you're calling the for loop with a
Martin A. Hansen wrote:
hi there
Hello,
im trying to call a subroutine and get it to return some hash table values. however,
i have two problems.
1. it does not work. theres something wrong with my foreach sentence,
but i cant see what it is. however, the commented foreach