> -Original Message-
> From: Adriano Allora [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 28, 2006 3:24 AM
> To: beginners@perl.org
> Subject: 1, random; 2, unicode
>
> hi to all,
>
> two questions:
>
> 1) I need to extract a random item from an hash, does exist a
> function
> to do
> -Original Message-
> From: M. Lewis [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 27, 2006 3:36 PM
> To: beginners@perl.org
> Subject: HoA building
>
> I have the following simple script. I'm toying with HoA for the first
> time. The script is not working as expected and I know
Well, if I'm allowed select more than one, I will add regular expressions and
context semantics. Regex support of perl is the de facto standard, power and
easy use. The context semantics make perl do just as I want to do.
bingfeng
> -Original Message-
> From: Todd W [mailto:[EMAIL PROTECT
Just a simple survey. As a perl fan, I'd like know what's make you are so
enthusiastic with perl. As for me, I vote the smart data structure design:)
---
There is only one thing more painful than learning from experience and that is
not learning
I love perl, and perl is the first tool when I want to do something. So I'd like
embedded perl in my own editor as a line-based script language so I can
manipulate edited text of current editor buffer easily though perl's power and
simple features. I need perl core(regex, data structure, etc.) and
yeah, I know, thanks for clue, I just cannor remember the functions. :)
> -邮件原件-
> 发件人: Adriano Ferreira [mailto:[EMAIL PROTECTED]
> 发送时间: 2006年9月7日 11:01
> 收件人: [EMAIL PROTECTED]; beginners@perl.org
> 主题: Re: How to write an integer to socket
>
> On 9/7/06, Adriano Ferreira <[EMAIL PR
Hi, guys
In a udp socket test routine, I want to write some integers to server in network
order. But unfortunately, my server receive just chars! how can I do?
My code:
#! /usr/bin/perl
use IO::Socket;
$sock = new IO::Socket::INET (PeerAddr => '192.168.89.166',
Pee
hi, all,
I have a tk program, I allow user select a file and then I read it. When the
file path contain chinese character(of course, I use windows xp simplified
chinese version with ActiveState perl 5.8.4), perl complain "Invalid argumen" or
"No such file or directory". I know maybe I should use so
smime.p7m
Description: S/MIME encrypted message
I wrote some perl programs and
want to use perlcc compiles them to .exe files, I get easily
crashed results after long time wait. I feel if I use a little complex data
structures, such as hash of array, it will get in problems; of source, little
script such as "hello world" is OK. I don't kn
That's great, I also found doc about this function, thank you, Tom and Ryan
> -邮件原件-
> 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 代表
> Tom Phoenix
> 发送时间: 2006年3月10日 12:21
> 收件人: [EMAIL PROTECTED]
> 抄送: beginners@perl.org
> 主题: Re: how to rewind file?
>
> On 3/9/06, [EMAIL PROTEC
After I use <> operator
on s file handle, I need read it from head again. I found these is no rewind
function, must I close it and open again?
---Life is a different teacher...
It doesn't teach lessons, and then keep exams... It keeps the exams
> -邮件原件-
> 发件人: JupiterHost.Net [mailto:[EMAIL PROTECTED]
> 发送时间: 2006年2月28日 21:54
> 收件人: beginners@perl.org
> 主题: Re: the way to get current index of an array
>
>
>
> [EMAIL PROTECTED] wrote:
> > hi, perlers,
>
> Howdy,
Thanks or your and others reply
>
> > Is there a simple way
hi,
perlers,
Is there a simple way to get
the current index of an array in loop statement? the procondition is you cannot
get this information from array element. For example
#!usr/bin/perl
my @arr = qw/a b c d
e/;
for(@arr)
{
print "The
No.?? element is $_\n";
}
--
14 matches
Mail list logo