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 wOOdy-Soft 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: MariusX1
  • Content: Threads
  • Order by date
  1. MariusX1

    Using && with strings?

    Is it possible to use an "and" (&&) with strings in an if statement? I know that I can do it with integers: if (a == 1) && (b == 2) ;do some stuff endif But, is it possible to do it with strings? Like: if (strfind a "foo") && (strfind b "bar") ;do some other stuff endif I haven't...
  2. MariusX1

    Cisco VPN Command Line Connection Prompt

    I'm trying to automate a number of VPN connections so that I can launch them through batch files and have them connect automatically. The batch file line that does the call looks like this (where 13607 is the profile name): C:\PROGRA~1\CISCOS~1\VPNCLI~1\vpnclient connect sd 13607 It connects...
  3. MariusX1

    Splitting values into a hash

    Just a quick question. I know this can be done with more lines, but I'm wondering if it's possible to make the following work in one line. (values(%my_hash)) = split(/\|/,$line); I was hoping this would work since you can do the same thing with a regular array, but it's not working as is...

Part and Inventory Search

Back
Top