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 John Tel 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: webgeo
  • Content: Threads
  • Order by date
  1. webgeo

    How does shift() work within a loop?

    I am trying to create something like the following, which will loop through an array and simultaneously remove the first value from the array each time: @array = (1,2,3,4,5,6); foreach $value (@array) { shift(@array); ## used elsewhere print "$value"; } My problem is that the...
  2. webgeo

    How to call parameters from a separate file?

    I have a Perl script into which I would like to call different sets of parameters depending on the input. e.g. command: myscript.pl [parameter_file_name] where [parameter_file_name] is one of: myparameters_1.pl myparameters_2.pl etc... each file containing parameters of the form...

Part and Inventory Search

Back
Top