RE: file script and cmd script difference
- From: peng@xxxxxxxxxxxx (Jeff Peng)
- Date: Thu, 29 Jun 2006 07:12:34 +0000
my($addr,$mac) = (split(/s+/))[0,2];
You maybe would check your scripts carefully at first.
Here should be:
my($addr,$mac) = (split(/\s+/))[0,2];
You have lost the '\' before 's+' in your regex.
.
- Follow-Ups:
- Re: file script and cmd script difference (close)
- From: Joseph
- Re: file script and cmd script difference (close)
- References:
- file script and cmd script difference
- From: Joseph
- file script and cmd script difference
- Prev by Date: cscope for perl?
- Next by Date: Re: file script and cmd script difference (close)
- Previous by thread: file script and cmd script difference
- Next by thread: Re: file script and cmd script difference (close)
- Index(es):