deprecated

2004-01-15 Thread Jabez Wilson
" In scalar context, returns the number of fields found and splits into the "@_" array. Use of split in scalar context is deprecated, however, because it clobbers your subroutine arguments." Forgive my ignorance, but in this context what does "deprecated" actually mean? -

Re: Can a regex match numbers?

2003-11-20 Thread Jabez Wilson
Thanks for all the responses. I have looked at Jeffrey Friedl's book and it explains it very well, except I now do not understand why ip=123.3.21.223 is not allowed. Or am I misunderstanding something trivial? > > > > Hello, please can you help me. Is it possible to specify number matching

Can a regex match numbers?

2003-11-18 Thread Jabez Wilson
Hello, please can you help me. Is it possible to specify number matching in a regex, i.e. can you have something like: my $match =~ m/match_number_if_number_is_less_than_255/ instead of my $match =~ m/(\d{3})/; if ($1<=255){my @array = @array +$1}? - Want to