Re: Problem with Hashes

2002-01-22 Thread Jeff Bisbee
STDERR "DUMP of o_traffic_rec:\n" . Dumper(\%o_traffic_rec) . "\n"; OUTPUT: DUMP of o_traffic_rec: { 'name' => 'jeff' } -----

Re: Scalars

2002-01-25 Thread Jeff Bisbee
* Naveen Parmar ([EMAIL PROTECTED]) wrote: > Why are the following 2 invalid scalar assignments? > > B. $17april = $dayDay 2; > C. $april.17 = $dayDay 2; > > TIA, > - NP Looks like homework to me :) -- ___vvz __ (_, ` ) ( )Jeff Bisbee

Re: trying to secure text input.

2002-01-28 Thread Jeff Bisbee
* Luinrandir Hernson ([EMAIL PROTECTED]) wrote: > Below is the code i'm using to filter out non alphanumeric charecters... however >when i type > ?!$BOB > yeilds this: > -_3f_21_24bob- What's happening is that your string '?!$BOB' is being URL encoded (standard CGI procedure) and being tran

Re: return @hash_table{ @extract };

2002-01-29 Thread Jeff Bisbee
t; > >>>>This will return a list of values from %hash_table using the keys from > >>>>@extract. > > Please explain why this works. thank you. It's called a hash slice because it gives you a 'slice' of the hash you're working with. First I

Re: return @hash_table{ @extract };

2002-01-30 Thread Jeff Bisbee
* Kipp, James ([EMAIL PROTECTED]) wrote: > perldoc perlreftut > also read Ch 8-9 of Programming Perl 3rd Ed if you have it. Hash slices and reference and seperate issues... Here are two examples of hash slices, one on a hash and one on a hash reference #!/usr/bin/perl -w use strict;