At 03:36 PM 3/16/2006 -0500, Craig Cardimon wrote:
>I need to read a large text file line by line until a certain tag is
>found, say . This tag will exist on a line by itself. Then I need
>read in all subsequent lines, appending them to each other, until the
>ending tag is found, again on a line
At 04:40 PM 3/16/2006 -0700, Edwards, Mark (CXO) wrote:
>The each function requires a hash as an argument. I would think that a
>subroutine that returns a hash could be used as the argument, but it
>doesn't work. Why? Is my syntax wrong or is that just the way Larry
>made it?
U have to evaluate
Does anyone know if there's any legal issues with hosting encryption modules
in the US? I run a farm of uber fast servers that I could add a PPM
repository to for everyone.
- Chris
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Sisyphus
Sent: Thursday,
Thanks for the replies, folks! I got all kinds of responses.
I've seen a "here's one way to do it," a "we could use more information
on what you're trying to do," and a "this is not what the range operator
was meant to do."
It's kind of fascinating, really. List members use perl for different
ta
Great!
I’ve installed all three modules –
1) Net::SSLeay
2) IO::Socket::SSL
3) Mail::POP3Client
and everything connects ok. BUT, $pop->Count() everytime returns 0,
even when there are new mails in my mailbox.
Where
is the shit?
__
Hi Chris,
and sorry for the delay.
Chris Wagner wrote:
U can do this by implementing ur own deceptively simple perl shell. U can
set ur own single key commands, pass other commands off to cmd.exe
Hey that's a great idea. I think this is the most straight forward solution
particularly as I'm n
Chris wrote:
> Does anyone know if there's any legal issues with hosting encryption modules
> in the US? I run a farm of uber fast servers that I could add a PPM
> repository to for everyone.
>
> - Chris
Hi Chris,
I haven't looked at the US situation in a few years, but I believe it
hasn't chang
- Original Message -
From: "Splinter" <[EMAIL PROTECTED]>
To: ; "'Sisyphus'"
<[EMAIL PROTECTED]>
Sent: Saturday, March 18, 2006 8:19 AM
Subject: Re: Maill::Pop3Client
> Great!
>
>
>
> I've installed all three modules -
>
> 1) Net::SSLeay
>
> 2) IO::Socket::SSL
>
> 3) M
Chris wrote:
> Does anyone know if there's any legal issues with hosting encryption
> modules in the US? I run a farm of uber fast servers that I could add
> a PPM repository to for everyone.
>
> - Chris
Hi Chris,
I haven't looked at the US situation in a few years, but I believe it hasn't
ch
Chris wrote:
> Maybe the solution is to have a server in each country to distribute
> restricted modules to occupants only. There are a lot of companies (like
> Motorola for example) that limit access to software downloads based on the
> user's country of origin. I'm sure there are ways of obtaini
On Fri, 17 Mar 2006 12:05:07 -0800, you wrote:
># Using subroutine that returns a hash doesn't work
>while (($key, $value)= each( mkhash() ))
>{
>print("$key = $value\n");
>}
>
>sub mkhash
>{
> my %hash=('one'=>1, 'two'=>2, 'three'=>3);
> return %hash;
>}
The each() function expects i
Hi,
When I read the first post, I remembered seeing that somewhere before.
Then, I was amazed to see the "this is not what the range operator was
meant to do."
So, I looked for it. Found it in chapter 6 of the Perl Cookbook. Its
Recipe 6.8.
See this URL: http://www.unix.org.ua/orelly/perl/cookb
- Original Message -
From: "Eric Amick"
.
.
> You can return a reference to a
> hash instead and then dereference it in the caller:
>
> while (($key, $value)= each( %{ mkhash() }))
> {
> print("$key = $value\n");
> }
>
> sub mkhash
> {
> my %hash=('one'=>1, 'two'=>2, 'three'=>3);
At 11:09 PM 3/17/2006 +0200, =?iso-8859-1?Q?Veli-Pekka_T=E4til=E4?= wrote:
>It's no big deal really but I wonder why you use the marginally shorter
>forms u and ur in stead of you and your. U renders quite well with a speech
>synth here, but ur is pretty much indistinguishable from err, .
:) I g
Yeah that's what I started to suspect after I posted. mkhash() should be
saved to a variable name and that variable used in the while each loop.
At 01:18 PM 3/18/2006 +1100, Sisyphus wrote:
>That's not what I find.
>The following script (suggested by Chris) simply prints "All done" for me.
>
my
Dial, Joe wrote:
> Hi,
> When I read the first post, I remembered seeing that somewhere before.
> Then, I was amazed to see the "this is not what the range operator was
> meant to do."
>
> So, I looked for it. Found it in chapter 6 of the Perl Cookbook. Its
> Recipe 6.8.
> See this URL: http://
At 07:54 PM 3/17/2006 -0500, Dial, Joe wrote:
>So, I looked for it. Found it in chapter 6 of the Perl Cookbook. Its
>Recipe 6.8.
>See this URL: http://www.unix.org.ua/orelly/perl/cookbook/ch06_09.htm
>
>I don't understand exactly why the original posted code doesn't work,
>but is remarkably
>simil
17 matches
Mail list logo