I need to test a scalier to see if its value is not two possibilities,
because this test is being done inside a while loop I can not use an elsif
statement without things getting ugly. I have tried it like this if
($scalier nq 'A') || ($scalier nq 'B') { but that just gave me a syntax
error wh
"John W. Krahn" wrote:
> Adam Jimerson wrote:
>> I am working on a program that will act as a contact manager of sorts,
>> it uses two hashes to store everything (although the second one is
>> commented
>> out because I am not ready to work with it). I am us
(Randal L. Schwartz) wrote:
>>>>>> "Adam" == Adam Jimerson writes:
>
> Adam> my %phone_numbers = ();
> ...
> Adam> $phone_numbers{$_} #needs to print the keys of the hash for the
> name, and Adam> values for the phone number so it will be li
I am working on a program that will act as a contact manager of sorts, it
uses two hashes to store everything (although the second one is commented
out because I am not ready to work with it). I am using the format function
to display everything but I don't know how to get it to show the keys
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
sanket vaidya wrote:
>
> Instead of going for IDE It would be better to download Perl Interpreter &
> use some editor. For Windows few editors are Crimson, Context, Perl Express
> etc. I use Perl Express.
>
I played with Perl Express a bit and wasn'
Thanks for the help.
"John W. Krahn" wrote:
> vendion wrote:
>> Hello I am having trouble finding the correct syntax for reading a
>> list of numbers from a file, it is open and can read from it, I tried
>> with
>> while () {
>> chomp;
>> @some_array = $_;
>> print "@some_array\n";
>> }
>
> my @