Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] perl substitute function

Expand Messages
  • SARFRAAZ AHMED
    Hi Hans, Wow !!! This works !! Thanks a lot ... i never new about using this brackets funda in substistute functions. I had used them separately for matching ,
    Message 1 of 2 , Sep 26, 2002
    • 0 Attachment
      Hi Hans,

      Wow !!! This works !! Thanks a lot ... i never new
      about using this brackets funda in substistute
      functions. I had used them separately for matching ,
      and using the searches as $1, $2 ,etc...

      For the rest,

      Below is the solution to my problem.

      Thanks a lot
      Sarfraaz
      --- Hans Ginzel <hans@...> wrote:
      >
      > > $comments =~
      > s/%[a-fA-F0-9][a-fA-F0-9]/pack("c",hex($1))/ge; ##
      > To
      >
      > What about this:
      > $comments =~
      > s/%([a-fA-F0-9][a-fA-F0-9])/pack("c",hex($1))/ge; ##
      To


      __________________________________________________
      Do you Yahoo!?
      New DSL Internet Access from SBC & Yahoo!
      http://sbc.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.