sub function{
my $storedata=shift;
my $storenameandaddress=$storedata->{$storeid}->{name}
."_".$storedata->{$storeid}->{location}->{address}
."_".$storedata->{$storeid}->{location}->{city}
."_".$storedata->{$storeid}->{location}->{state}
."_".$storedata->{$storeid}->{location}{country};}
私のコードは上に示されています。エラーメッセージが表示されます:
Using a hash as a reference is deprecated at main.pl line 141.
ただし、関数は引き続き実行可能です。そして、残りはすべて問題ないようです。では、このエラーは何について話しているのでしょうか? そして、どうすれば修正できますか?ありがとう。