Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ptsri1954
  • Content: Threads
  • Order by date
  1. ptsri1954

    how to extract from file path

    I have been trying to extract part of a file path..and so far have been unsuccessful. I have the following: my $verpath = \main\branch1\13 I need to extract the "branch1" from this path. I am using the following split "formula": my $filename1 = (split /\//, $verpath)[-1]; However this...
  2. ptsri1954

    Perl file handling

    Hi, I am trying to do the following: 1. Open A file 2. search for a string 3. if string "str1" already exists exit 4. else add the string "str1" and exit I am baffled because right now....It keeps adding the string "str1" to the file even if the string pattern "str1" exists in it. Here is...

Part and Inventory Search

Back
Top