Re: file script and cmd script difference (close)




""Jeff Peng"" <peng@xxxxxxxxxxxx> wrote in message
news:BAY15-F4F01CF35D72F07D076247F47C0@xxxxxxxxxx


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.



ouch... for how many times i had checked it, what a hard learned lesson.
thanks.

/joseph


.



Relevant Pages

  • Re: If I am ever a comic strip character...
    ... comic strip version lost about 20 years. ... Ouch! ... you're off my "Favorite People in Wyoming" list. ...
    (rec.arts.comics.strips)
  • Re: I live in Hawaii and Im missing a nut!
    ... was it painful when you lost it? ... AllThingsUni ...
    (rec.sport.unicycling)
  • Re: Rolled my 94 XLT today...
    ... an hour based on lies. ... :(Ouch. ... That's always the problem trying to replace, exactly, what you've lost. ... And the better care you take of your stuff, ...
    (rec.autos.makers.ford.explorer)
  • Re: Oh dear! ;-)
    ... than you or me - he'd lost so much in the past 2 years or so that he ... Ouch. ... Poor sod. ...
    (uk.people.support.depression)
  • Re: Whats the cut off
    ... > Girlfriend: "What, you lost the $100 I gave you to those morons? ... Ouch, I hope you're not talking ala scissors of Lorena Bobbitt. ...
    (rec.gambling.poker)