Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

regular expression (search and destroy)

by data67 (Monk)
on Nov 12, 2003 at 20:19 UTC ( [id://306618]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<>) {
    @array = split(/,/, $line);
    }
    
  2. or download this
    121212, "Simpson, Bart", springfield
    
  3. or download this
    121212, Simpson Bart, springfield
    
  4. or download this
    open (SYST, "$upload_dir/$filename");
    while (defined ($line = <SYST>)) {
    ...
            }
    }
    close (SYST);
    
  5. or download this
    line = 121212, "Simpson, Bart", Springfield<br>
    
    ...
    
    121212, Simpson_ Bart, Sprigfield
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://306618]
Approved by Corion
Front-paged by Roger
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-18 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found