hi,list!
i have install GD lib and GD module for perl,
but when i try to install module by cpan,some error happened.
(i have install GD::Graph by cpan and it works fine! )
cpan> install GD::Text
Running install for module GD::Text
Running make for M/MV/MVERB/GDTextUtil-0.86.tar.gz
Checksum for /r
From: zentara <[EMAIL PROTECTED]>
> See the above links. I have installed Gtk2 under windows, but it
> was harder than I would expect an average user to go thru.
>
> Yeah, thats why Linux is preferred over Winblows. Linux just makes
> things work, where windows is a constant battle. I switched to
yitzle wrote:
Hi
I decided throwing a GUI on Perl would be fun so I want to make a Connect Four.
Which GUI module would you advise? It seems the major contenders are
GTK, GTK2/GTK+ and Tk.
Tk seems to have the simplest interface which is nice, but it sure
doesn't look as pretty as GTK.
I took a p
From: "zentara" <[EMAIL PROTECTED]>
See http://www.lostmind.de/gtk2-perl/
and
http://perlmonks.org?node_id=632246
and
http://perlmonks.org?node_id=473637
and
http://gtk2-perl.sourceforge.net/win32/
Thank you. I was able to install it (although after trying to "use Gtk2;" in
a program, it gave
Hi all,
I'm trying to save attachment from emails with a specific subject. but i
can't find the right module...
thank you for your help.
My script :
# Duh
use Net::IMAP::Simple;
use Email::Simple;
# Create the object
my $imap = Net::IMAP::Simple->new('xxx.
zentara wrote:
On Tue, 19 Feb 2008 22:36:09 -0500, [EMAIL PROTECTED]
(yitzle) wrote:
Hi
I decided throwing a GUI on Perl would be fun so I want to make a Connect Four.
Which GUI module would you advise? It seems the major contenders are
GTK, GTK2/GTK+ and Tk.
Tk seems to have the simplest inter
obdulio santana wrote:
use strict;
use warnings;
$_ = join '',;
s/^\s*\n(^.+\n)(?=^\s*\n)/print $1/egm;
this one
is not so bad or, is it?:-)
Actually it's rather similar to some of the solutions that were posted
previously in this thread.
http://www.mail-archive.com/beginners%40perl
On Thu, Feb 21, 2008 at 10:35 AM, Yoyoyo Yoyoyoyo <[EMAIL PROTECTED]> wrote:
> But the commands do still run in the command line, is there anyway to throw
> a perl variable in there?
Yes. You did it correctly. Look at the code I posted.
> my $y = `echo $x`;
--
To unsubscribe, e-mail: [EMAIL PROT
But the commands do still run in the command line, is there anyway to throw a
perl variable in there?
yitzle <[EMAIL PROTECTED]> wrote: Perl captures the output from backticks so
nothing gets printed to the screen.
__CODE__
my $x = "efg";
my $y = `echo $x`;
print $y;
__OUTPUT__
efg
__END__
--
Perl captures the output from backticks so nothing gets printed to the screen.
__CODE__
my $x = "efg";
my $y = `echo $x`;
print $y;
__OUTPUT__
efg
__END__
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi all,
I am having trouble representing a perl variable when using back ticks to run
commands from the unix command line. A simple example would be:
#!usr/bin/perl
$X = $ARGV[0];
`echo $X`;
This does not work (neither does `echo \$X`;). Is there anyway to represent a
perl variable when usin
On Wed, Feb 20, 2008 at 11:03 PM, <[EMAIL PROTECTED]> wrote:
snip
> Oh - I wanted to eliminate all members of the array that had more than
> 10 instances of the same port. I was hoping that you could do
> something like "count keys where port = gi1/1/49". After knowing how
> many gi1/1/49 th
On Feb 20, 10:26 pm, [EMAIL PROTECTED] wrote:
> Hi, thank you all for your input - I managed to get what I wanted
> done. Sorry I was not very clear on the issue, but it helped to write
> it out.
>
> Jim
Please ignore this post ^, I do not have a end solution yet.
--
To unsubscribe, e-mail: [E
2008/2/20, John W. Krahn <[EMAIL PROTECTED]>:
>
> Gunnar Hjalmarsson wrote:
> > obdulio santana wrote:
> >> Please let me know if everything is Ok.
> >>
> >> @l = ;
> >> @nl = map /^\s*\n/?1:0,@l;
> >> map { print $l[$_] if ("$nl[$_ - 1]$nl[$_]$nl[$_ + 1]" eq "101" ) } (0
> ..
> >> $#nl);
> >
> > 1
> I have a feeling that I am going about this in the wrong
> way. Can I use hashes in a better way to sort the data based on the
> keys? Better yet, can I evaluate the number of keys that match each
> other?
I don't understand what that means.
John
Oh - I wanted to eliminate all members of
Hi, thank you all for your input - I managed to get what I wanted
done. Sorry I was not very clear on the issue, but it helped to write
it out.
Jim
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Jenda
Thank you! Very much!
Kind regards,
Bruce.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Thanks John and Gunnar. It's working now.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Thu, Feb 21, 2008 at 4:11 PM, J. Peng <[EMAIL PROTECTED]> wrote:
> On Thu, Feb 21, 2008 at 4:03 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
> >
> > So 0x would indicate a network with no hosts on it and thus it
> > is not a valid netmask.
> >
>
> yup, but sometime we need a 255.2
On Thu, Feb 21, 2008 at 4:03 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
>
> So 0x would indicate a network with no hosts on it and thus it
> is not a valid netmask.
>
yup, but sometime we need a 255.255.255.255 netmask to forbit the host
don't reply to any ARP requests.
for example, yo
J. Peng wrote:
On Thu, Feb 21, 2008 at 3:29 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
J. Peng wrote:
> how to translate this mask to clear text form with perl?
> netmask 0x
If you mean an IP address netmask then 0x is an invalid netmask
because all the bits are 1.
John
21 matches
Mail list logo