in reply to Re: Re: Re: Re: Re: Re: Re: checking the end of line
in thread checking the end of line
If you're getting a syntax error, perhaps you typed it in wrong.
Perhaps you meant
Perhaps you meant
if($path =~ /(\d+)$/ == 0) { print "No number found\n"; } else { print "number is $1\n"; }
|
---|
In Section
Seekers of Perl Wisdom