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

RE: [PBML] delimiter "\"

Expand Messages
  • Stern, Leon
    I think what you want is this $a = c: dir1 dir2 foo.doc print $a c: dir1 dir2 foo.doc $a =~ s/ / //g print $a c:/dir1/dir2/foo.doc Leon ... From:
    Message 1 of 2 , Dec 1, 2003
    • 0 Attachment
      I think what you want is this

      $a = 'c:\dir1\dir2\foo.doc'
      print $a
      c:\dir1\dir2\foo.doc
      $a =~ s/\\/\//g

      print $a
      c:/dir1/dir2/foo.doc

      Leon

      -----Original Message-----
      From: poorraining03 [mailto:poorraining03@...]
      Sent: Monday, December 01, 2003 12:34
      To: perl-beginner@yahoogroups.com
      Subject: [PBML] delimiter "\"

      hi,
      $a = c:\dir1\dir2\foo.doc
      want to change to
      $a = c:/dir1/dir2/foo.doc

      i use $a= ~s/\///g;
      and use split("\",$a);

      it doesn't work
      anybody can help



      Unsubscribing info is here: http://help.yahoo.com/help/us/groups/groups-32.html

      Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





      Confidentiality Note:

      The preceding e-mail message (including any attachments) contains information that may be confidential, protected by applicable legal privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.
    Your message has been successfully submitted and would be delivered to recipients shortly.