in reply to Re: Using Data::Dumper with a HoH
in thread Using Data::Dumper with a HoH

Thank you for your advice and examples. I actually do use strict and use warnings normally. I had actually cut and pasted some code over and was working on figuring out how I was going to access the HoH. Unfortunately I didn't copy over the entire header like I should have.

Also I will now use refrences with Data::Dumper from now on.

Thank you,

-mox

Replies are listed 'Best First'.
Re^3: Using Data::Dumper with a HoH
by Fletch (Bishop) on Oct 30, 2006 at 14:31 UTC

    It might behoove you to take the time to set up a skeleton Perl script and configure whatever editor you use to use that when you create a new Perl program (and if your editor doesn't support doing that, get a better editor).

    #!/usr/bin/perl use strict; use warnings; use Data::Dumper qw( Dump ) ## Or . . . #use YAML::Syck qw( Load Dump ); ### ### CODE GOES IN HERE ### exit 0; __END__

    Many editors will make it possible that your cursor winds up with the "CODE GOES IN HERE" portion selected (so that it's replaced when you start typing or paste), or just after it.