http://qs1969.pair.com?node_id=36480


in reply to RE: RE: RE: RE: RE: Caution - contents may settle in transit
in thread Caution - contents may settle in transit

my $variable = 'hello'; $variable =~ tr/o/u/; print $variable;
You need to read perlop to figure out how to use tr and it's family.
--
Casey
   I am a superhero.

Replies are listed 'Best First'.
RE: RE: RE: RE: RE: RE: RE: Caution - contents may settle in transit
by Anonymous Monk on Oct 13, 2000 at 00:11 UTC
    Hi, thanks again casey! The only question left is the folowing : if $t="1234" and $_="abcd" and the script does an s/hello/$t/seee; what the "seee" do change? I think it does nothing but... can't find why it is in the script...
      Check perlop for the s operator. It gives a clear definition of s statement modifiers.

      In you case, those modifiers don't help much... look up what 'i' or 'g' does... Am I helping you with your homework?

      --
      Casey
         I am a superhero.