LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 724 users online 174549 members 1492 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
4 online / 58 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

perl assainment
i need help
Replies: 4Last Post Sep. 18, 2007 5:55pm by lunchbox995
Single page for this topic Email Print Favorite
( lunchbox995 )

Novice
Reply
ok, i missed my scripting in a windows envoirment class and my friend gave me a copy of  the home wrk, basicly make this code, but i dont understand it at all, can some one help me?

print "Enter number of names:";
chomp($num = <STDIN>);

for($x=0;$x<$num;$x++){#input names
print "Enter name ".($x+1).":";
chomp($names[$x] = <STDIN>);
}

print "\n";

$x=1;#incrementing value

foreach (@names){#output names
print "Name $x:$_\n";
$x++;
}

-------
[c=#2551A0]^-~[/c][c=#075363]all dazed out [/c]
[c=#2551A0]~-`[/c] [c=#000000]from smoking melted twinkies[/c]


1:23 pm on Sep. 18, 2007 | Joined Aug. 2007 | 39 Days Active
Join to learn more about lunchbox995 Montana, United States | Bisexual Male | 499 Posts | -62 Points
bend

Soothsayer

Patron
Reply
it looks like the people who designed pearl really like money

-------
is ghandi that old wizard with the little hobbits?

1:25 pm on Sep. 18, 2007 | Joined Oct. 2006 | 548 Days Active
Join to learn more about bend Ghana | Straight | 7129 Posts | 11814 Points
( lunchbox995 )

Novice
Reply
that doesnt help me at all man.

-------
[c=#2551A0]^-~[/c][c=#075363]all dazed out [/c]
[c=#2551A0]~-`[/c] [c=#000000]from smoking melted twinkies[/c]

1:27 pm on Sep. 18, 2007 | Joined Aug. 2007 | 39 Days Active
Join to learn more about lunchbox995 Montana, United States | Bisexual Male | 499 Posts | -62 Points
( lunchbox995 )

Novice
Reply
p.s. $ is a varible.

-------
[c=#2551A0]^-~[/c][c=#075363]all dazed out [/c]
[c=#2551A0]~-`[/c] [c=#000000]from smoking melted twinkies[/c]

1:31 pm on Sep. 18, 2007 | Joined Aug. 2007 | 39 Days Active
Join to learn more about lunchbox995 Montana, United States | Bisexual Male | 499 Posts | -62 Points
( lunchbox995 )

Novice
Reply
no one can help me?

-------
[c=#2551A0]^-~[/c][c=#075363]all dazed out [/c]
[c=#2551A0]~-`[/c] [c=#000000]from smoking melted twinkies[/c]

5:55 pm on Sep. 18, 2007 | Joined Aug. 2007 | 39 Days Active
Join to learn more about lunchbox995 Montana, United States | Bisexual Male | 499 Posts | -62 Points
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic