CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
What is the output of the following?

 



raje
Novice

Dec 11, 2008, 4:02 AM

Post #1 of 14 (1637 views)
What is the output of the following? Can't Post

$value='aaa';

$frame{'aaa'}=1;

print "$frame{$value}";


FishMonger
Veteran / Moderator

Dec 11, 2008, 4:18 AM

Post #2 of 14 (1636 views)
Re: [raje] What is the output of the following? [In reply to] Can't Post

Well, what output did you get?

We're not going to do your homework.


raje
Novice

Dec 11, 2008, 4:45 AM

Post #3 of 14 (1635 views)
Re: [FishMonger] What is the output of the following? [In reply to] Can't Post

the problem is I got this in a test.

I have no way to run and see what is the output.:(


FishMonger
Veteran / Moderator

Dec 11, 2008, 5:05 AM

Post #4 of 14 (1633 views)
Re: [raje] What is the output of the following? [In reply to] Can't Post

Perl is free and it only takes a few minutes to install.


KevinR
Veteran


Dec 11, 2008, 8:49 AM

Post #5 of 14 (1630 views)
Re: [FishMonger] What is the output of the following? [In reply to] Can't Post


In Reply To
Well, what output did you get?

We're not going to do your homework.


hes taking a test and wanting the answers. Crazy
-------------------------------------------------


raje
Novice

Dec 11, 2008, 12:32 PM

Post #6 of 14 (1625 views)
Re: [KevinR] What is the output of the following? [In reply to] Can't Post

i got the answer.


FishMonger
Veteran / Moderator

Dec 11, 2008, 12:37 PM

Post #7 of 14 (1624 views)
Re: [raje] What is the output of the following? [In reply to] Can't Post

And it only took you 8 hours to wait for someone to give you an answer that you could have gotten for yourself in 15 minutes.


raje
Novice

Dec 11, 2008, 12:38 PM

Post #8 of 14 (1623 views)
Re: [FishMonger] What is the output of the following? [In reply to] Can't Post

because i was expecting the answer at office where i didnt have perl.


KevinR
Veteran


Dec 11, 2008, 2:23 PM

Post #9 of 14 (1619 views)
Re: [raje] What is the output of the following? [In reply to] Can't Post

raje,

I'm curious, what type of test were you taking?
-------------------------------------------------


raje
Novice

Dec 12, 2008, 3:15 AM

Post #10 of 14 (1613 views)
Re: [KevinR] What is the output of the following? [In reply to] Can't Post

perl programming internal certification.

its internal to the company i work for.

i love perl but not been working in perl for the last one year.

i cleared the test. but just was curious what was the answer to this question.


vassago
Novice

Dec 12, 2008, 3:03 PM

Post #11 of 14 (1605 views)
Re: [raje] What is the output of the following? [In reply to] Can't Post

i got a syntax error..?? is this correct? i'm curious now.


KevinR
Veteran


Dec 12, 2008, 4:07 PM

Post #12 of 14 (1602 views)
Re: [vassago] What is the output of the following? [In reply to] Can't Post


In Reply To
i got a syntax error..?? is this correct? i'm curious now.


A syntax error from what?
-------------------------------------------------


raje
Novice

Dec 12, 2008, 6:10 PM

Post #13 of 14 (1598 views)
Re: [KevinR] What is the output of the following? [In reply to] Can't Post

it does not give a syntax error.


vassago
Novice

Dec 18, 2008, 11:07 AM

Post #14 of 14 (1576 views)
Re: [raje] What is the output of the following? [In reply to] Can't Post

nm. its 1.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives