Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Text File Problem

by buckaduck (Chaplain)
on Nov 06, 2002 at 22:10 UTC ( [id://210928]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     # Your code
     $_ =~ /^(.*?)\*(.*?)\*(.*?)\*(.*?)\*(.*?)\*(.*?)\*(.*?)\*(.*?)\*(.*?)
    +\*(.*?)\*(.*?)$/;
     my $value1=$1;
    
  2. or download this
     # My code
     my ($value1) = split /\*/;
    
  3. or download this
     # Your code
     unless($value1 ne $ag) {
       s/$value1/$ag/g; 
       $save_list=$save_list.$_;
     }
    
  4. or download this
     # My code
     if ($value1 ne $ag) {
       s/\Q$value1\E/$ag/; 
       $save_list=$save_list.$_;
     }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-19 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found