> "John" == John W Krahn <[EMAIL PROTECTED]> writes:
John> "Randal L. Schwartz" wrote:
>>
>> (In the past week, I just finished writing this stuff up for my next
>> book... see the bookshelves in six months or so.)
John> Does it have a title yet? Will there be an animal on the cover? :-)
Randal L. Schwartz wrote:
>
> (In the past week, I just finished writing this stuff up for my next
> book... see the bookshelves in six months or so.)
>
is the book going to be focus to a certain topics (such as reference, OO,
etc) in Perl or is it going to be a general one?
david
--
To uns
Great explanation as usual, sir. I am looking forward to reading your next
book, and good luck with everything.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
"Randal L. Schwartz" wrote:
>
> (In the past week, I just finished writing this stuff up for my next
> book... see the bookshelves in six months or so.)
Does it have a title yet? Will there be an animal on the cover? :-)
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMA
> "David" == David Eason <[EMAIL PROTECTED]> writes:
David> I am not as knowledgeable about such things as you guys, but..
David> Isn't an anonymous array the same thing as an array literal?
No.
:-)
Well, for one thing, there's no such thing as an array literal.
So that's like saying "aren'
I am not as knowledgeable about such things as you guys, but..
Isn't an anonymous array the same thing as an array literal?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ssage-
From: Todd Wade [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 04, 2003 4:00 PM
To: [EMAIL PROTECTED]
Subject: Re: References ch 8 programming Perl
"John W. Krahn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
My thoughts on
"John W. Krahn" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
My thoughts on perl references. This code:
> foreach $file(@files) {
>
> open file...
> @$file = ;
> close file...
> }
creates named arrays via symbolic references.
[trwww@devel_rh trwww]$ perl
$s
Hi John.
See in-line.
"John W. Krahn" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Paul Johnson wrote:
> >
> > I am saying that an anonymous array has no name, but it can be accessed
> > via a reference to it.
>
> In that case the reference name is its name
On Sat, Jan 04, 2003 at 04:58:45AM -0800, John W. Krahn wrote:
> Paul Johnson wrote:
> > I am saying that an anonymous array has no name, but it can be accessed
> > via a reference to it.
>
> In that case the reference name is its name
OK. This is where we disagree. I believe that you are mist
Paul Johnson wrote:
>
> On Fri, Jan 03, 2003 at 06:32:10PM -0800, John W. Krahn wrote:
> >
> > You are saying that it has no name but it does: arrayref. If it truly
> > had "no name" then there would be no way to access it anywhere else in
> > the program.
>
> I am saying that an anonymous array
Hi Dan (again)
See in-line.
"Dan Muey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Another thing I use a lot is to take form input and build sql queries
based on what is input for instance
> Say I want to search a table withh twenty columns
> If I have a f
Hi Dan, all
I want to pull together the two subthreads and reply to them jointly. I
can't, so I'm replying to this one and leaving it to you to make the
association with the 'what is/isn't an anonynous array' discussion.
See in-line.
"Dan Muey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECT
On Fri, Jan 03, 2003 at 06:32:10PM -0800, John W. Krahn wrote:
> Paul Johnson wrote:
> >
> > On Fri, Jan 03, 2003 at 03:33:30PM -0800, John W. Krahn wrote:
> > > Paul Kraus wrote:
> > > >
> > > > Ok a couple questions on Ref from pg 251 programming Perl.
> > > >
> > > > push @$arrrayref,$filename)
Paul Johnson wrote:
>
> On Fri, Jan 03, 2003 at 03:33:30PM -0800, John W. Krahn wrote:
> > Paul Kraus wrote:
> > >
> > > Ok a couple questions on Ref from pg 251 programming Perl.
> > >
> > > push @$arrrayref,$filename);
> > > $$arrayref[0]="January";
> > > @$arrayref[4..6]=qw/May June July/;
> >
On Fri, Jan 03, 2003 at 03:33:30PM -0800, John W. Krahn wrote:
> Paul Kraus wrote:
> >
> > Ok a couple questions on Ref from pg 251 programming Perl.
> >
> > push @$arrrayref,$filename);
> > $$arrayref[0]="January";
> > @$arrayref[4..6]=qw/May June July/;
> >
> > So this is actually creating an
Paul Kraus wrote:
>
> Ok a couple questions on Ref from pg 251 programming Perl.
>
> push @$arrrayref,$filename);
> $$arrayref[0]="January";
> @$arrayref[4..6]=qw/May June July/;
>
> So this is actually creating an anonymous array that it then references
> correct?
> so the assignments January e
Surprised no one has mentioned it, but the complete foundation of Object Oriented Perl
is based on the ability to bless a referent into a particular namespace. So obviously
once/if you get into OOP references play a major role.
Along these lines is the ability to pass multiple different types o
will
creep in and is just big and ugly
Anywho hope that helps
Dan
-Original Message-----
From: Dan Muey
Sent: Friday, January 03, 2003 3:17 PM
To: Perl
Subject: RE: References ch 8 programming Perl
I use anonymouse variables all the time. Basically in dynamic database applications.
It ma
I use anonymouse variables all the time. Basically in dynamic database applications.
It makes very complicated things a bit easier :
@files = `ls /home/user`;
foreach $file(@files) {
open file...
@$file = ;
close file...
}
Open fileto contrain contents of all f
> push @$arrrayref,$filename);
> $$arrayref[0]="January";
> @$arrayref[4..6]=qw/May June July/;
>
> So this is actually creating an anonymous array that it then
> references
> correct?
> so the assignments January ect are being made to an anonymous array.
Yes
>
> This is cool but maybe I am
21 matches
Mail list logo