Re: [OT]Leaving this list.

2007-06-05 Thread Jeff Pang
Alan 写道: On Tuesday 05 June 2007 04:47, Ron Goral wrote: I am leaving this list even though I've been here for several years. While gmail account does really good at filtering spam into a "spam" folder where spam is auto deleted once it's 30 days old. I second with it.Gmail is really goo

Re: PERL arrays

2007-06-05 Thread Dean
On Jun 5, 10:38 pm, [EMAIL PROTECTED] wrote: > how do i declare loop and print a 4 dim array How have you defined the 4D array? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Leaving this list.

2007-06-05 Thread Alan
On Tuesday 05 June 2007 04:47, Ron Goral wrote: > I am leaving this list even though I've been here for several years. While gmail account does really good at filtering spam into a "spam" folder where spam is auto deleted once it's 30 days old. It's what I do, have/use a gmail account for this

Re: PERL arrays

2007-06-05 Thread Chas Owens
On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: snip how do i declare loop and print a 4 dim array snip Arrays in Perl are all one dimensional, but multiple dimensions can be faked with references. Given an "multidimensional" array @a, you would access the first level with $a[0]. The

Re: Usenet messages are appearing on beginners@perl.org

2007-06-05 Thread Chas Owens
On 6/5/07, Mumia W. <[EMAIL PROTECTED]> wrote: A horrible thing has happened recently. Messages from usenet seem to be appearing here. snip Some of the junk that goes on on usenet doesn't need to happen here. snip The method of connecting to the list shouldn't matter. We have standards of c

Re: transpose/reshape wide dataset to long and vice versa

2007-06-05 Thread Chas Owens
On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: hello all-- I have been trying to wrap my head around the right approach to doing what I would normally do with SAS's "PROC TRANSPOSE" in Perl. The below toy dataset is summarized from http://www.ats.ucla.edu/stat/sas/modules/wtol_transpose

Re: Leaving this list.

2007-06-05 Thread Chas Owens
On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: However, I don't know if a usenet reply (such as this one) is reflected back to the mailing list (anyone?) Yep, it makes it to the list. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http:

Re: Usenet messages are appearing on beginners@perl.org

2007-06-05 Thread Paul Lalli
On Jun 5, 7:03 pm, [EMAIL PROTECTED] (Mumia W.) wrote: > People who want usenet should subscribe to usenet newsgroups. I > shouldn't have to see usenet happen on a mailing list I like. Whoever is > in charge, I implore you to change the configuration of the maillist so > that these usenet message

Re: transpose/reshape wide dataset to long and vice versa

2007-06-05 Thread Tom Phoenix
On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have searched CPAN and google and the list to the best of my ability for any hints related to transposing a "long" dataset to a "wide" dataset and vice versa. I assume I am missing an obvious solution to what I presume is a common dilemma

Re: PERL arrays

2007-06-05 Thread Tom Phoenix
On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: how do i declare loop and print a 4 dim array Perl's arrays are one-dimensional. But you can fake things that are as complex as necessary. Have you seen the perldsc manpage? Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscr

Re: Usenet messages are appearing on beginners@perl.org

2007-06-05 Thread Steve Bertrand
Mumia W. wrote: > A horrible thing has happened recently. > > Messages from usenet seem to be appearing here. > > I remember that messages posted to the list were reflected to the > newsgroup perl.beginners, but newsgroup posts to perl.beginners didn't > seem to show up here. Now they do :_( > >

Usenet messages are appearing on beginners@perl.org

2007-06-05 Thread Mumia W.
A horrible thing has happened recently. Messages from usenet seem to be appearing here. I remember that messages posted to the list were reflected to the newsgroup perl.beginners, but newsgroup posts to perl.beginners didn't seem to show up here. Now they do :_( I hope this is just a configu

Re: Leaving this list.

2007-06-05 Thread usenet
On Jun 5, 4:47 am, [EMAIL PROTECTED] (Ron Goral) wrote: > I am leaving this list even though I've been here for several years... > I am fully disgusted by the amount of spam I receive. As others have pointed out, the spam is not coming from the list (though the list has exposed your e-mail address

transpose/reshape wide dataset to long and vice versa

2007-06-05 Thread sgallagh
hello all-- I have been trying to wrap my head around the right approach to doing what I would normally do with SAS's "PROC TRANSPOSE" in Perl. The below toy dataset is summarized from http://www.ats.ucla.edu/stat/sas/modules/wtol_transpose.htm. I have searched CPAN and google and the list to the

PERL arrays

2007-06-05 Thread aislingbrennan21
how do i declare loop and print a 4 dim array -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Command Splice()

2007-06-05 Thread Paul Lalli
On Jun 5, 1:42 pm, [EMAIL PROTECTED] (Mumia W.) wrote: > On 06/05/2007 08:38 AM, Xu, Lizhe wrote: > > I am confused about what the splice command does with the shift > > command and what the result of the command. Thanks. > > Hello Lizhe. When you want information about a Perl function, you can >

Re: Leaving this list.

2007-06-05 Thread Mumia W.
On 06/05/2007 06:47 AM, Ron Goral wrote: I am leaving this list even though I've been here for several years. While I find the information and ideas exchanged very helpful, I am fully disgusted by the amount of spam I receive. Over this last weekend, of 172 emails I received from this list, 52 we

Re: Command Splice()

2007-06-05 Thread Mumia W.
On 06/05/2007 08:38 AM, Xu, Lizhe wrote: [...] I am confused about what the splice command does with the shift command = and what the result of the command. Thanks. Hello Lizhe. When you want information about a Perl function, you can get it using the "perldoc" utility, like so: Start->Run->

Re: Passing arguments to subroutine

2007-06-05 Thread Chas Owens
On 6/5/07, Brad Baxter <[EMAIL PROTECTED]> wrote: snip Apparently, unlike with named subs, both &$anon() and $anon->() ignore prototypes. However, like named subs &$anon gets the caller's @_. But that is almost never mentioned afaict at the places in the docs where the &$anon style call is used

Not up to PAR

2007-06-05 Thread jrpfinch
I'm sorry you felt the need to reply to this thread - I don't see what it has to do with PAR. Anyway, I got around my problem by using zip instead of pp: bash-2.05# zip MetaMonPhaseOne.par MetaMon/PhaseOne.pm MetaMon/ PhaseOne/* adding: mydir/PhaseOne.pm (deflated 84%) adding: mydir/PhaseOne/

Re: Passing arguments to subroutine

2007-06-05 Thread Brad Baxter
On Jun 1, 9:58 am, [EMAIL PROTECTED] (Chas Owens) wrote: > On 31 May 2007 10:58:54 -0700, Paul Lalli <[EMAIL PROTECTED]> wrote: > > > On May 31, 10:15 am, [EMAIL PROTECTED] (Yitzle) wrote: > > > I suspect one of the tutorials that Google or Perl.org points to has > > > something in it that needs co

Re: how to draw a bargraph with Chart::Graph::Gnuplot

2007-06-05 Thread Tom Phoenix
On 6/5/07, herostar1981 <[EMAIL PROTECTED]> wrote: But I need to draw a horizonal bargraph now... Have you looked on CPAN? I quickly found this; there's probably more: http://search.cpan.org/~bwarfield/GDGraph-1.44/Graph/hbars.pm Hope this helps! --Tom Phoenix Stonehenge Perl Training -

RE: Command Splice()

2007-06-05 Thread Xu, Lizhe
Thank you very much. Lizhe From: Stephen Kratzer [mailto:[EMAIL PROTECTED] Sent: Tue 6/5/2007 10:09 AM To: beginners@perl.org Cc: Xu, Lizhe Subject: Re: Command Splice() On Tuesday 05 June 2007 09:38:51 Xu, Lizhe wrote: > Hi All, > =20 > The example given fo

Re: Command Splice()

2007-06-05 Thread Stephen Kratzer
On Tuesday 05 June 2007 09:38:51 Xu, Lizhe wrote: > Hi All, > =20 > The example given for splice function in the perldoc shows > sub aeq { > ... > my(@a)=3D splice (@_, 0, shift); > ... > } > I am confused about what the splice command does with the shift command = > and what the result of the c

Command Splice()

2007-06-05 Thread Xu, Lizhe
Hi All, =20 The example given for splice function in the perldoc shows sub aeq { ... my(@a)=3D splice (@_, 0, shift); ... } I am confused about what the splice command does with the shift command = and what the result of the command. Thanks. Lizhe -- To unsubscribe, e-mail: [EMAIL PROTEC

Re: Leaving this list.

2007-06-05 Thread yitzle
No spam here (from the list), though I hate having to expose my address. In Gmail, if your email address is "[EMAIL PROTECTED]", you get access to "[EMAIL PROTECTED]" etc You could use the "+stuff" to "create" many addresses which can later be blocked/filtered etc -- To unsubscribe, e-mail: [EMAI

Re: Leaving this list.

2007-06-05 Thread Ovid
- Original Message From: Paul Johnson <[EMAIL PROTECTED]> > I very much suspect that the spam you are receiving comes not from this > list, but directly to the address you use (exclusively?) for this list. The email address I use for this list is '[EMAIL PROTECTED]'. It has a '3' becau

how to draw a bargraph with Chart::Graph::Gnuplot

2007-06-05 Thread herostar1981
hi everybody, I have a big problem about bargraph it seems that it only draws lines using the Chart::Graph::Gnuplot module. But I need to draw a horizonal bargraph now... How to do that? Thanks a lot.. Best Regards, xu -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Leaving this list.

2007-06-05 Thread Paul Johnson
On Tue, Jun 05, 2007 at 07:55:01PM +0800, Jeff Pang wrote: > Ron Goral 写道: > >I am leaving this list even though I've been here for several years. While > >I > >find the information and ideas exchanged very helpful, I am fully disgusted > >by the amount of spam I receive. Over this last weekend, o

Re: Leaving this list.

2007-06-05 Thread Jeff Pang
Ron Goral 写道: I am leaving this list even though I've been here for several years. While I find the information and ideas exchanged very helpful, I am fully disgusted by the amount of spam I receive. Over this last weekend, of 172 emails I received from this list, 52 were spam. That's nearly 1 in

Leaving this list.

2007-06-05 Thread Ron Goral
I am leaving this list even though I've been here for several years. While I find the information and ideas exchanged very helpful, I am fully disgusted by the amount of spam I receive. Over this last weekend, of 172 emails I received from this list, 52 were spam. That's nearly 1 in every 3. I am t

Re: Not up to PAR

2007-06-05 Thread jrpfinch
Sorry I'm making a terrible mess of this - the same applies even when I spell the module correctly i.e. SetSQL: bash-2.05# /usr/local/bin/perl -e 'use PAR;use lib q(a.par); use SetSQL' Parameter to use lib must be directory, not file at -e line 1 Can't locate SetSQL.pm in @INC (@INC contains: a.pa

Re: perl gvim

2007-06-05 Thread John Degen
Maybe you should start by starting gvim and typing :help perl and pressing Control -D. Pick one of the options you like. hth (a little) John -- Sane sicut lux seipsam, & tenebras manifestat, sic veritas norma sui, & falsi est. -- Spinoza - Original Message From: SPX2 <[EMAIL PROTECTE

Re: Not up to PAR

2007-06-05 Thread jrpfinch
There must be something else obvious that I'm missing: bash-2.05# /usr/local/bin/perl -e "use PAR; use lib q(a.par); use SetSql" Parameter to use lib must be directory, not file at -e line 1 Can't locate SetSql.pm in @INC (@INC contains: a.par CODE(0x817d8f0) / usr/local/lib/perl5/5.8.8/i86p

Re: Understanding methods OO Perl

2007-06-05 Thread [EMAIL PROTECTED]
On Jun 5, 1:17 am, [EMAIL PROTECTED] (Chas Owens) wrote: > On 6/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > snip> Horse->speak; > snip > > What I'm having trouble understanding is how $class is passed the > > argument "Horse" when I don't explicitly pass Horse as a parameter to > > speak.

Re: Annoying HASH(0x...) in Output

2007-06-05 Thread [EMAIL PROTECTED]
On Jun 4, 4:34 pm, [EMAIL PROTECTED] (GMan) wrote: > I am trying to teach myself Perl Objects. > > I have a Person object with a name and a list of friends. > > Here is a test program that uses it. > > #! /usr/bin/perl > > use Person; > > $p = new Person; > > $p->setname("Gary"); > $p->addfriend("B

Re: Annoying HASH(0x...) in Output

2007-06-05 Thread [EMAIL PROTECTED]
On Jun 4, 4:34 pm, [EMAIL PROTECTED] (GMan) wrote: > I am trying to teach myself Perl Objects. > > I have a Person object with a name and a list of friends. > > Here is a test program that uses it. > > #! /usr/bin/perl > > use Person; > > $p = new Person; > > $p->setname("Gary"); > $p->addfriend("B

Re: Understanding methods OO Perl

2007-06-05 Thread Dean
On Jun 5, 1:24 am, [EMAIL PROTECTED] (Tom Phoenix) wrote: > On 6/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > What I'm having trouble understanding is how $class is passed the > > argument "Horse" when I don't explicitly pass Horse as a parameter to > > speak. > > It's automatic when yo

Re: Annoying HASH(0x...) in Output

2007-06-05 Thread [EMAIL PROTECTED]
GMan wrote: > I am trying to teach myself Perl Objects. > > I have a Person object with a name and a list of friends. > > Here is a test program that uses it. > > #! /usr/bin/perl > > use Person; > > $p = new Person; > > $p->setname("Gary"); > $p->addfriend("Bill"); > $p->addfriend("John"); > $p-