Re: Help, About Global variable.

2011-09-15 Thread Shawn H Corey
On 11-09-14 11:18 PM, Brandon McCaig wrote: Personally I agree that it's very sloppy to write without capitals. I find it sloppy for people whose first language is English not to do their best. Many readers of this list do not have English as a their first language and the best way to improv

Re: Help, About Global variable.

2011-09-14 Thread Uri Guttman
> "BM" == Brandon McCaig writes: BM> [1] I personally find it very petty when Uri mentions his work as a BM> Perl "recruitment agent" (for lack of a better description right now) BM> and implies that he'll never consider you as a potential candidate BM> with regards to that because of

Re: Help, About Global variable.

2011-09-14 Thread Brandon McCaig
On Wed, Sep 14, 2011 at 8:57 PM, Uri Guttman wrote: > it was topical as your (self admitted) blowup happened here. and it > caused a small ruckus until you calmed down. I'd say you're both out to lunch on this. I don't even recall this subject so if I even read the affected threads then I obvious

Re: Help, About Global variable.

2011-09-14 Thread Uri Guttman
> "RD" == Rob Dixon writes: RD> On 14/09/2011 21:30, Uri Guttman wrote: >> >>> Uri we are all privileged with your thoughts on variable naming. My last >>> attempt to say that perhaps you weren't always right wrong resulted in a >>> personal attack saying "you had that blowup a few

Re: Help, About Global variable.

2011-09-14 Thread Rob Dixon
On 14/09/2011 21:30, Uri Guttman wrote: Uri we are all privileged with your thoughts on variable naming. My last attempt to say that perhaps you weren't always right wrong resulted in a personal attack saying "you had that blowup a few months ago. are you doing that again?" Given that you choos

Re: Help, About Global variable.

2011-09-14 Thread Jim Gibson
On 9/14/11 Wed Sep 14, 2011 5:04 AM, "William" scribbled: > On Sep 14, 5:39 am, chrisstinem...@gmail.com (Chris Stinemetz) wrote: ...For more information see: >> >>>        #!/usr/local/bin/perl >>>        use strict; >>>        $a = 1; >>>        $b = 2; >>>        print qq($a, $b\n); >

Re: Help, About Global variable.

2011-09-14 Thread William
On Sep 14, 5:39 am, chrisstinem...@gmail.com (Chris Stinemetz) wrote: > >> ...For more information see: > > >>http://perl.plover.com/FAQs/Namespaces.html > > > Useful article. > > > Now can you explain why I get no error with this little routine? - > > >        #!/usr/local/bin/perl > >        use

Re: Help, About Global variable.

2011-09-14 Thread Uri Guttman
> "RD" == Rob Dixon writes: RD> On 14/09/2011 16:51, Uri Guttman wrote: >>> "PJ" == Paul Johnson writes: >> PJ> On Tue, Sep 13, 2011 at 11:34:34PM -0400, Uri Guttman wrote: >> >> here is another good reason to stay aways from single letter var >> >> names. they are hard to

Re: Help, About Global variable.

2011-09-14 Thread Rob Dixon
On 14/09/2011 16:51, Uri Guttman wrote: "PJ" == Paul Johnson writes: PJ> On Tue, Sep 13, 2011 at 11:34:34PM -0400, Uri Guttman wrote: >> here is another good reason to stay aways from single letter var >> names. they are hard to search for as other vars which start with those >>

Re: Help, About Global variable.

2011-09-14 Thread Shawn H Corey
On 11-09-14 11:51 AM, Uri Guttman wrote: show me a tool that can search for single letter names cleanly and with little effort as compared to longer names. also this isn't the only reason, just one of several. ViM. Put the cursor on the variable and press * Also: press # to search backward.

Re: Help, About Global variable.

2011-09-14 Thread Uri Guttman
> "PJ" == Paul Johnson writes: PJ> On Tue, Sep 13, 2011 at 11:34:34PM -0400, Uri Guttman wrote: >> here is another good reason to stay aways from single letter var >> names. they are hard to search for as other vars which start with those >> letters will also be found. PJ> This may

Re: Help, About Global variable.

2011-09-14 Thread Paul Johnson
On Tue, Sep 13, 2011 at 11:34:34PM -0400, Uri Guttman wrote: > here is another good reason to stay aways from single letter var > names. they are hard to search for as other vars which start with those > letters will also be found. This may be the worst argument I have ever heard against using si

Re: Help, About Global variable.

2011-09-14 Thread William
On 9月13日, 下午8时33分, shlo...@shlomifish.org (Shlomi Fish) wrote: > Hello William, > > On Mon, 12 Sep 2011 20:05:38 -0700 (PDT) > > William wrote: > > My Code: > > use strict ; > > use warnings ; > > > chomp($input = ) ; > > > I compile this but has a error. say:Globla symbol "@input" requires > > ex

Re: Help, About Global variable.

2011-09-13 Thread Uri Guttman
> "JD" == John Delacour writes: JD> At 16:39 -0500 13/09/2011, Chris Stinemetz wrote: >>> From Learning Perl book: >> >> In some circumstances, $a and $b won't need to be declared, because >> they're used internally by sort. So if you're testing this feature, >> use other variabl

Re: Help, About Global variable.

2011-09-13 Thread John Delacour
At 16:39 -0500 13/09/2011, Chris Stinemetz wrote: From Learning Perl book: In some circumstances, $a and $b won't need to be declared, because they're used internally by sort. So if you're testing this feature, use other variable names than those two. The fact that use strict doesn't forbid the

Re: Help, About Global variable.

2011-09-13 Thread Chris Stinemetz
> >> ...For more information see: >> >> http://perl.plover.com/FAQs/Namespaces.html > > Useful article. > > Now can you explain why I get no error with this little routine? - > >        #!/usr/local/bin/perl >        use strict; >        $a = 1; >        $b = 2; >        print qq($a, $b\n); > >Fro

Re: Help, About Global variable.

2011-09-13 Thread John Delacour
At 15:33 +0300 13/09/2011, Shlomi Fish wrote: ...For more information see: http://perl.plover.com/FAQs/Namespaces.html Useful article. Now can you explain why I get no error with this little routine? - #!/usr/local/bin/perl use strict; $a = 1; $b = 2;

Re: Help, About Global variable.

2011-09-13 Thread Shlomi Fish
Hello William, On Mon, 12 Sep 2011 20:05:38 -0700 (PDT) William wrote: > My Code: > use strict ; > use warnings ; > > chomp($input = ) ; > > I compile this but has a error. say:Globla symbol "@input" requires > explicit package name at... Well, you didn't copy-and-paste the error correctly, b