Daniel Falkenberg wrote:
> 
> Hey All,
> 
> I just have a really quick regex question.
> 
> I have the following code...
> 
> next if $username =~ /^ruby/;
> 
> will that strip and go to the next if statment if $username = ruby?

next only works inside loops like for, foreach, while, etc.  It is not
effected by an if statement.  /^ruby/ is a pattern match (regular
expression.)  It does not "strip" anything.

perldoc perlsyn
perldoc perlre


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to