Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Re: Re: checking the end of line

by I0 (Priest)
on Jul 20, 2002 at 22:13 UTC ( #183687=note: print w/ replies, xml ) Need Help??


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

if($path =~ /(\d+)$/ == 0) { print "No number found\n"; } else { print "number is $1\n"; }


Comment on Re: Re: Re: Re: Re: Re: Re: Re: checking the end of line
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://183687]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2014-07-11 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (232 votes), past polls