I cant seem to get this module to work at all.
I have Windows 7 Pro 64bit, Apache 2.2.14, Active Perl 5.14.2.1402 64 bit.
Then I installed... ImageMagick-6.7.5-6-Q16-windows-x64-dll.exe. I
checked the box that said "Install PerlMagick for ActiveState Perl
c51412.2 build 1402"
I can run perl scri
- Original Message -
From: "Skirv"
Apache web log reports this error.
"Can't locate loadable object for module Image::Magick in @INC (@INC
contains: C:/Perl64/site/lib C:/Perl64/lib .)"
The "loadable object" is the file auto/Image/Magick/Magick.dll, and it will
look for that file u
Hi there,
I have a hash table where I want to do some action for each value in
the hash table.
Among other possibilities I could do like this:
map { some_action($_) } values %ht;
where let us say:
sub some_action {
...
return;
}
I like it because it is really short.
Questions:
On Mon, 20 Feb 2012 20:08:31 +0100, Manfred Lotz wrote:
Hi there,
I have a hash table where I want to do some action for each value in
the hash table.
Among other possibilities I could do like this:
map { some_action($_) } values %ht;
where let us say:
sub some_action {
...
retu
On Mon, 20 Feb 2012 20:08:31 +0100
Manfred Lotz wrote:
> Hi there,
>
> I have a hash table where I want to do some action for each value in
> the hash table.
>
>
>
> Among other possibilities I could do like this:
>map { some_action($_) } values %ht;
>
> where let us say:
>
> sub some_
I am trying ot find a way to use an array as a reference to remove
lines from a file.
The array @keyFields has the elements "rcsm and cdmno". My objective
is to remove any line from the input that matches the regex /rcsm\d/
and cdmno\d/.
I'm not sure if I'm using the best approach.
I am getting t
Looks like I was able to figure it out with the below:
But how do I remove all the blank lines?
Output:
cdmno=1
rdnt_cdmno=1
cdmno=2
rcsm=801
rcsm=801
rcsm=802
#!/usr/bin/perl
use warnings;
use strict;
my $file = "nonKeys.txt";
my $newFile = "cleanKeys.txt";
my @keyFields
>-Original Message-
>From: Chris Stinemetz [mailto:chrisstinem...@gmail.com]
>Sent: Monday, February 20, 2012 13:51
>To: beginners@perl.org
>Subject: Re: search and replace with an array
>
>Looks like I was able to figure it out with the below:
>
>But how do I remove all the blank lines?
>
> -Original Message-
> From: Chris Stinemetz [mailto:chrisstinem...@gmail.com]
> Sent: Monday, February 20, 2012 3:51 PM
> To: beginners@perl.org
> Subject: Re: search and replace with an array
>
> Looks like I was able to figure it out with the below:
>
> But how do I remove all the blan
On Mon, 20 Feb 2012 20:14:13 +0100
"Christian Walde" wrote:
> On Mon, 20 Feb 2012 20:08:31 +0100, Manfred Lotz
> wrote:
>
> > Hi there,
> >
> > I have a hash table where I want to do some action for each value in
> > the hash table.
> >
> >
> >
> > Among other possibilities I could do like this
Manfred Lotz wrote:
Hi there,
Hello,
I have a hash table where I want to do some action for each value in
the hash table.
Among other possibilities I could do like this:
map { some_action($_) } values %ht;
where let us say:
sub some_action {
...
return;
}
I like it because it
Chris Stinemetz wrote:
I am trying ot find a way to use an array as a reference to remove
lines from a file.
The array @keyFields has the elements "rcsm and cdmno". My objective
is to remove any line from the input that matches the regex /rcsm\d/
and cdmno\d/.
AND means matching BOTH in the sam
Thank you everyone that replied.
Your suggestions helped me with finding a solution.
Take care,
Chris
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Hi Sean,
I don't have Term::Screen installed, but I checked its source - and it
looks like whenever some 'non-function' (i.e., not navigational) key is
pressed, getch() just gives out the corresponding symbol. Perhaps you'd
just check for the spacebar and enter key values (32 and 10, respectively)
14 matches
Mail list logo