On Fri, Jun 15, 2001 at 01:37:51PM -0700, Crystal Gruetzmacher
([EMAIL PROTECTED]) wrote:
> what is $_ for?
It's the "default" variable an is used for a great many things in Perl.
In this case, it's where each line of a file ends up when you use the
construction:
while (<FILE>) {
# each line of file in turn appears in $_
}
You can find much more info on it in the perlvar manual page.
Dave...
--
Don't dream it... be it
- Update: Where to begin??!!?? Crystal Gruetzmacher
- Re: Update: Where to begin??!!?? Greg Meckes
- Re: Update: Where to begin??!!?? Dave Cross
- Re: Update: Where to begin??!!?? Greg Meckes
- Re: Update: Where to begin??!!?? Dave Cross
- Re: Update: Where to begin??!!?? Michael Wolfrom
- Re: Update: Where to begin??!!?? Dave Cross
- RE: Update: Where to begin??!!?? Crystal Gruetzmacher
- RE: Update: Where to begin??!!?? Greg Meckes
- RE: Update: Where to begin??!!?? Dave Cross
- RE: Update: Where to begin??!!?? Peter Cornelius
- Re: Update: Where to begin??!!?? Dave Cross
- RE: Update: Where to begin??!!?? Peter Cornelius
