> 2003/08/23 (土) 03:35:18 ◆ ▼ ◇ [mirai]> > Perl野郎いる?(;´Д`)わかんないことがあるんだが
> 少しくらいなら
メインループで
&hoge(key, var);
sub hoge{
%fh;
$filepass = './hoge/hoge.dat';
$fh{$_[0]} = new IO::File ">> $filepass" or die "$!";
print $fh{$_[0]} $_[1];
}
てな風に書くと
String found where operator expected at hoge.pl line 175, near "} "$_[1]""
(Missing operator before "$_[1]"?)
syntax error at hoge.pl line 175, near "} "$_[1]""
Execution of hoge.pl aborted due to compilation errors.
て怒られます(;´Д`)どこがどう間違ってるますか
参考:2003/08/23(土)03時30分34秒