Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: using require as c like #include?

by Coruscate (Sexton)
on Jan 19, 2004 at 18:51 UTC ( [id://322477]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to using require as c like #include?

$ cat HoH.pl #!/usr/bin/perl -w use strict; use Data::Dumper; our $HoH = do 'hash'; print Dumper($HoH); $ cat hash { 'HASH_1' => { item_a => "abc", item_b => "123", item_c => "blue", }, 'HASH_2' => { item_a => "xyz", item_b => "789", item_c => "white", }, 'HASH_3' => { item_a => "ijk", item_b => "3.14", item_c => "yellow", } } $ ./HoH.pl $VAR1 = { 'HASH_3' => { 'item_b' => '3.14', 'item_c' => 'yellow', 'item_a' => 'ijk' }, 'HASH_2' => { 'item_b' => '789', 'item_c' => 'white', 'item_a' => 'xyz' }, 'HASH_1' => { 'item_b' => '123', 'item_c' => 'blue', 'item_a' => 'abc' } };

Replies are listed 'Best First'.
Re: Re: using require as c like #include?
by Plankton (Vicar) on Jan 20, 2004 at 14:41 UTC
    Wow! That's it! Thanks!

    Plankton: 1% Evil, 99% Hot Gas.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://322477]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.