[EMAIL PROTECTED] wrote:
>
> On 12/08/03 19:33 or thereabouts, John W. Krahn scribbled:
> > [EMAIL PROTECTED] wrote:
> > > If that is so, what is all that business with the curly braces ?
> > > I thought curly braces are supposed to denote code sections ?
> >
> > Yes, exactly, the curly braces all
[EMAIL PROTECTED] wrote:
>
> I've just started trying to pick up a little perl.
> I'm breezing through "Learning Perl" and reading the perl docs.
>
> Here is some syntax I found a little funny, and I was hoping somebody
> could explain this too me:
>
> opendir(DIR, $some_dir) || die "can't opend
[EMAIL PROTECTED] wrote:
> I've just started trying to pick up a little perl.
> I'm breezing through "Learning Perl" and reading the perl docs.
>
> Here is some syntax I found a little funny, and I was hoping somebody
> could explain this too me:
>
> opendir(DIR, $some_dir) || die "can't opendir $
James Edward Gray II <[EMAIL PROTECTED]> wrote:
> On Dec 8, 2003, at 11:28 AM, Jeff Westman wrote:
>
> > [EMAIL PROTECTED] wrote:
> >
> >> Here is some syntax I found a little funny, and I was hoping somebody
> >> could explain this too me:
> >>
> >> opendir(DIR, $some_dir) || die "can't opendir
On Dec 8, 2003, at 11:28 AM, Jeff Westman wrote:
[EMAIL PROTECTED] wrote:
Here is some syntax I found a little funny, and I was hoping somebody
could explain this too me:
opendir(DIR, $some_dir) || die "can't opendir $some_dir: $!";
@dots = grep { /^\./ && -f "$some_dir/$_" } readdir(DIR);
closed
[EMAIL PROTECTED] wrote:
> I've just started trying to pick up a little perl.
> I'm breezing through "Learning Perl" and reading the perl docs.
Excellent book. Do more than just "breeze" through it. Study it thoroughly,
it's probably the single best starting place to learn perl.
> Here is some
That is a a great description of what is going on, but I think his
question centered on the &SYNTAX*, not the *SEMANTICS*. As a
programmer from the "algebraic" school (FORTRAN, algol, pascal, C,
Ada, etc.), he is unacustomed to seeing a function call without
surrounding parens. The key concept he
On Dec 8, 2003, at 10:52 AM, [EMAIL PROTECTED] wrote:
I've just started trying to pick up a little perl.
I'm breezing through "Learning Perl" and reading the perl docs.
Here is some syntax I found a little funny, and I was hoping somebody
could explain this too me:
opendir(DIR, $some_dir) || die "