Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Re: Perl cheat sheet

by TheDamian (Priest)
on Dec 02, 2002 at 01:33 UTC ( #216836=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        "foo\nbar" =~ /foo$/ or print "Didn't match EOL :-(\n";
    
  2. or download this
        ^ begin
        $ end (before \n)
    
  3. or download this
        ^ start of str
        $ end of str (incl \n)
    
  4. or download this
        /m ^ = SOL, $ = EOL
        /s . matches \n too
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (None)
    As of 2021-10-20 19:53 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My first memorable Perl project was:







      Results (82 votes). Check out past polls.

      Notices?