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

Re: Replacing Text At Specific Positions

by FunkyMonk (Chancellor)
on Jun 05, 2007 at 15:49 UTC ( [id://619428]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<INFILE>) {
        my $line = $_;
    
  2. or download this
    while (my $line = <INFILE>) {
    
  3. or download this
    $juris1 = substr( $line, 99, 1 );
    $juris2 = substr( $line, 148, 1 );
    ...
    #
    #substr( $line, 99, 1, '9' ); # 4th argument replaces
    #substr( $line, 148, 1, 'Z' );# selected sub-string
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-20 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found