Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: checking the end of line

by Basilides (Friar)
on Jul 20, 2002 at 14:59 UTC ( #183600=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($path =~ m/(\d+)$/)
    {   my $end_num = $1;
    ...
    else
    {   print "Oh dear, my path doesn't end with a number\n";
    }
    
  2. or download this
    m/(\d+)$/
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2023-03-26 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?