my $book_hashref = $sel_cursor->fetchrow_hashref; display_basic($book_hashref); #### sub display_basic { my $book_ref = shift; print "$book_ref->{'name'}
\n"; } ##
## "my" variable $book_ref masks earlier declaration in same scope at DisplayStuff.pm line 100. syntax error at DisplayStuff.pm line 96, near "sub display_basic" syntax error at DisplayStuff.pm line 102, near "}"