Perl Array Question

Discussion in 'Perl Misc' started by mihirtr@gmail.com, Dec 21, 2006.

  1. Guest

    Hi,
    I am having a huge array that contains file paths in its element.
    Following is example of the array
    array[0] contains /u/test/abc/foo.c
    arroy[1] contains /u/test/abc/foo1.c
    array[2] contains /u/test/xyz/abc.c
    arroy[3] contains /u/test/xyz/abc1.c
    .........

    I want to go remove /u/test from each element in the array and store
    it. Will slice command help me in doing that?

    Thanks
    scott.
     
    , Dec 21, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dpackwood
    Replies:
    3
    Views:
    1,839
  2. PerlFAQ Server

    FAQ 1.4 What are Perl 4, Perl 5, or Perl 6?

    PerlFAQ Server, Jan 23, 2011, in forum: Perl Misc
    Replies:
    0
    Views:
    323
    PerlFAQ Server
    Jan 23, 2011
  3. PerlFAQ Server
    Replies:
    0
    Views:
    712
    PerlFAQ Server
    Feb 3, 2011
  4. PerlFAQ Server

    FAQ 1.4 What are Perl 4, Perl 5, or Perl 6?

    PerlFAQ Server, Feb 27, 2011, in forum: Perl Misc
    Replies:
    0
    Views:
    315
    PerlFAQ Server
    Feb 27, 2011
  5. PerlFAQ Server
    Replies:
    0
    Views:
    726
    PerlFAQ Server
    Apr 4, 2011
Loading...

Share This Page