Re: Trying to use Floor

2007-11-18 Thread John W . Krahn
On Sunday 18 November 2007 17:12, Chas. Owens wrote: > > On Nov 18, 2007 7:32 PM, Thomas F. Droege <[EMAIL PROTECTED]> wrote: > > > 1) I suspect a version problem since search indicates floor added > > after 5.0 > > How do I ask perl what version is installed? > > Not an version problem, they just

Re: Checking the two variable

2007-11-18 Thread sivasakthi
> > What you've written isn't valid Perl, so I shall have to guess at what > you might mean. If you have two strings like this > >$val1 = '15/Apr/2005:11:46:35 +0300'; >$val2 = '12/Nov/2007:14:59:00 +0530'; > > then you can compare them with eq, like this > >print "equal" if $val1

Re: Meta: please don't mail here if you have huge useless pointless disclaimers (was Re: SOH char)

2007-11-18 Thread Yitzchok Good
On Nov 18, 2007 8:21 PM, Omega -1911 <[EMAIL PROTECTED]> wrote: > I got a kick out of Randal's comment "I helped build this internet." > > QUESTION FOR RANDAL: What about the many other (million+ developers) > on this island, Gilligan? > > And I used to love your articles in various mags... Thank G

Re: Meta: please don't mail here if you have huge useless pointless disclaimers (was Re: SOH char)

2007-11-18 Thread Omega -1911
I got a kick out of Randal's comment "I helped build this internet." QUESTION FOR RANDAL: What about the many other (million+ developers) on this island, Gilligan? And I used to love your articles in various mags... Thank God for the many others that are *really* here to help on this list. You ca

Re: Trying to use Floor

2007-11-18 Thread Chas. Owens
On Nov 18, 2007 7:32 PM, Thomas F. Droege <[EMAIL PROTECTED]> wrote: > Trying to use floor: snip The ceil and floor functions are defined in the POSIX module. Read "perldoc -q floor" for more info. #!/usr/bin/perl use strict; use warnings; #don't use -w if you are going to use the warnings prag

Re: PAR-PP package on Windows

2007-11-18 Thread Jenda Krynicky
Date sent: Fri, 16 Nov 2007 08:25:25 -0500 From: "Chas. Owens" <[EMAIL PROTECTED]> To: anders <[EMAIL PROTECTED]> Subject:Re: PAR-PP package on Windows Copies to: beginners@perl.org > On Nov 16, 2007 3:03 AM, anders <[

Re: Meta: please don't mail here if you have huge useless pointless disclaimers (was Re: SOH char)

2007-11-18 Thread Jenda Krynicky
From: Peter Scott <[EMAIL PROTECTED]> > On Wed, 14 Nov 2007 13:09:50 -0500, Chas. Owens wrote: > > Because of netiquette. It isn't just Schwartz who is offended by this > > sort of thing, it is offensive to everyone who remembers the time > > before Eternal September. It is also a good idea to co

Trying to use Floor

2007-11-18 Thread Thomas F. Droege
Trying to use floor: [EMAIL PROTECTED] test]$ /home/tom/mk4/perl/test_floor.pl enter a number to be floored 3.557 Undefined subroutine &main::floor called at /home/tom/mk4/perl/test_floor.pl line 8, <> line 1. [EMAIL PROTECTED] test]$ Here is the code: #!/usr/bin/perl -w use strict; use warnin

Re: 400 bad request while retrieving a frame page with WWW::Mechanize

2007-11-18 Thread lcerneka
On Nov 18, 5:30 pm, [EMAIL PROTECTED] (Peter Scott) wrote: > On Sat, 17 Nov 2007 07:38:54 -0800, lcerneka wrote: > >> >> > I get an html page with a 400 error code (Bad Request) > >> >> > When asking for this page directly from a browser (Firefox or IE) it > >> >> > works fine... > > >> >> This hap

Re: Tk question about -command=>sub{} and Text Insert()

2007-11-18 Thread Tom Phoenix
On 11/18/07, Panda-X <[EMAIL PROTECTED]> wrote: > Any more clues ? This is a forum for Perl beginners, but there are forums available specifically for all of the major modules used with Perl. Some modules have more than one forum. As you might expect, you'll generally get better answers faster by

Re: remote hash question

2007-11-18 Thread Tom Phoenix
On 11/18/07, Craig Petty <[EMAIL PROTECTED]> wrote: > How can i get a remote hash over the internet like in a password cracker? What do you mean by the word "hash"? In Perl, it often means a data structure like %ENV or %hash, a variable which contains key-value pairs. But there are other meanings

Re: 400 bad request while retrieving a frame page with WWW::Mechanize

2007-11-18 Thread yitzle
On Nov 18, 2007 11:30 AM, Peter Scott <[EMAIL PROTECTED]> wrote: > > Okay, I reproduced this and solved it. First, I verified that I got a > proper response from Safari. Then I ran tcpdump to compare the request > sent by Safari with the one sent by Mech. (Regrettably, setting > LWP::Debug +conn

remote hash question

2007-11-18 Thread Craig Petty
How can i get a remote hash over the internet like in a password cracker? Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ -- To unsubscrib

Re: Tk question about -command=>sub{} and Text Insert()

2007-11-18 Thread Panda-X
2007/11/19, Tom Phoenix <[EMAIL PROTECTED]>: > > On 11/18/07, Panda-X <[EMAIL PROTECTED]> wrote: > > > But what I want is to insert() each number per second. > > > sub RollText{ > > for ( 1..5 ) { > > $_[0] ->{mw}{box} -> insert ( 'end', $_ ) ; > > sleep 1; > > } > > } > > You p

Re: 400 bad request while retrieving a frame page with WWW::Mechanize

2007-11-18 Thread Peter Scott
On Sat, 17 Nov 2007 07:38:54 -0800, lcerneka wrote: >> >> > I get an html page with a 400 error code (Bad Request) >> >> > When asking for this page directly from a browser (Firefox or IE) it >> >> > works fine... >> >> >> This happens often enough that it is covered in the FAQ for >> >> WWW::Mech

Re: Tk question about -command=>sub{} and Text Insert()

2007-11-18 Thread Tom Phoenix
On 11/18/07, Panda-X <[EMAIL PROTECTED]> wrote: > But what I want is to insert() each number per second. > sub RollText{ > for ( 1..5 ) { > $_[0] ->{mw}{box} -> insert ( 'end', $_ ) ; > sleep 1; > } > } You probably don't want sleep() there; the after() method is generally th

Tk question about -command=>sub{} and Text Insert()

2007-11-18 Thread Panda-X
Hi all, Below is my code. With this code, 12345 will show at once after 5 seconds I click the button. But what I want is to insert() each number per second. Is that something I can do like $| = 1 in such case ? At least, could anybody tell this is the behavior of insert () ? or it's the behavior

Re: Building a string to contain a "\"

2007-11-18 Thread Ron Bergin
On Nov 16, 1:12 pm, [EMAIL PROTECTED] (AndrewMcHorney) wrote: > Hello > > I am trying to build a string that contains the following text "dir > c:\ /S" so I can get a complete directory of all the files on drive C > and put them into an array with the following line of code - > @dir_list = 'dir c:\

Re: Split string into array

2007-11-18 Thread oryann9
Tom I thought taking a string and assigning it to an array would do it and I was wrong. Here is a sample line of source; "2004-08-03 23:57 1,712,128 GdiPlus.dll" and the recommended split gives me 13 for the number of items. I would like an array that has "2004-08-03", "23:57","1