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 sizbut 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: *

  1. Saiyanate

    Beginner with question about declarations

    Let's just say I used a simple hash. #/usr/bin/perl use strict; use warnings; srand (time ^ $$ ^ unpack "%L*", `ps axww | gzip`); # from perldoc.perl.org my %person_data; #declare hash my $number_people=10; # or =ARGV[0], STDIN, whatever my @traits =...
  2. Saiyanate

    Beginner with question about declarations

    I want to create arrays to hold data for a series of people, say @person1, @person2, etc. but the total number of people varies each time I run the program. How do I create arrays (or strings, for that matter) for person1 through personN? I've tried variations on concatenating as seen below...

Part and Inventory Search

Back
Top