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: Re: [budman] private and protected methods: Edit Log



ChopperCharles
Novice

Mar 30, 2012, 8:16 AM


Views: 9687
Re: [budman] private and protected methods

Okay, I've changed the code to clarify the ret_codes to make them less confusing. At any rate, the code is attached, however, the output is incorrect.

When I run perl test1.pl, I should receive:

Hello fooBar.
Hello fooBar.

Instead, I get:

Hello fooBar.
Hello fooBar.
Hello fooBar=HASH(0x8ca8818)
Assertion failed.

Charles.


(This post was edited by ChopperCharles on Mar 30, 2012, 8:17 AM)
Attachments: test1.pl (0.58 KB)
  fooBar.pm (0.86 KB)
  TacoBell.pm (0.35 KB)


Edit Log:
Post edited by ChopperCharles (Novice) on Mar 30, 2012, 8:17 AM


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

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