_DATA__
> > > 305 = normal,noselector,password,1-999
> > > 307 = normal,noselector,password,1-999
> > > 11307 = normal,noselector,password,1-999
> > >
> > > for each line of (info below __DATA__ token; could be with
> > > open above while), matc
rint "$key: $value\n";
> }
>
> __DATA__
> 305 = normal,noselector,password,1-999
> 307 = normal,noselector,password,1-999
> 11307 = normal,noselector,password,1-999
>
> To initialize an array, code like this:
>
> @array = qw(one two three);
>
> To i
On Wed, Jun 20, 2001 at 03:33:17PM -0500, Eric J. Wisti wrote:
> @var is array {or list}
@var is always an array.
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
initialize an array, code like this:
@array = qw(one two three);
To initialize a hash, code like this:
%hash = ( "Key A" => "Value A",
"Key B" => "Value B");
On Wed, 20 Jun 2001, Tom Yarrish wrote:
> Date: Wed, 20 Jun 2001 15:07:17 -0500 (C
> 113
> > 307
> >
> > You might want to be more restrictive in your regex, if you don't want
> > something like 11307 to match.
> >
> > As for Learning Perl 3, http://www.ora.com/catalog/lperl3/ says that
> > "Learning Perl, 3rd Edition" is
#x27;keys' from %hash:
>
> 305
> 113
> 307
>
> You might want to be more restrictive in your regex, if you don't want
> something like 11307 to match.
>
> As for Learning Perl 3, http://www.ora.com/catalog/lperl3/ says that
> "Learning Perl, 3rd Edition&qu
omething like 11307 to match.
>
> As for Learning Perl 3, http://www.ora.com/catalog/lperl3/ says that
> "Learning Perl, 3rd Edition" is due out next month (July 2001).
> http://www.bestbookbuys.com/books/compare/isbn/0596001320 says August
> 2001. Maybe Randal can shed mor
http://www.bestbookbuys.com/books/compare/isbn/0596001320 says August
2001. Maybe Randal can shed more light on the pub date as he is one of
the authors.
FYI
On Wed, 20 Jun 2001, Tom Yarrish wrote:
> Date: Wed, 20 Jun 2001 13:51:13 -0500 (CDT)
> From: Tom Yarrish <[EMAIL PROTECTED]>
>
Try $item=~/^\d{3}/;
Chris D. Garringer
LAN/WAN Manager
Master Certified Netware Engineer
Microsoft Certified Systems Engineer
Certified Solaris Administrator
Red Hat Certified Engineer
[EMAIL PROTECTED]
fax 713-896-5266
>>> Tom Yarrish <[EMAIL PROTECTED]> 06/20/01 01:51PM >>>
Hey all,
Well, th
Hey all,
Well, the subject says it all. Four days removed from a Perl class, and I
feel like I'm forgetting everything (guess that's what happens when you
don't take Randal's class ;p).
Anyway, here's what I'm trying to do. I have a file that I'm reading into
the program with an open command. E
10 matches
Mail list logo