小编Lok*_*wda的帖子

如何将INI文件条目读入哈希表?

如何将INI文件中的条目添加到哈希表?

我的INI文件看起来像这样......

[Channel 0]
Input = 0
Output = 0
CirUpdateRate = 10000 Hz
CirSourceFile = ..\..\MAT\mymodel.mat
CirControlFile = mymodel_0_S1_T4.sim

[Channel 1]
Input = 1
Output = 1
CirUpdateRate = 10000 Hz
CirSourceFile = ..\..\MAT\mymodel.mat
CirControlFile = mymodel_1_S1_T4.sim
Run Code Online (Sandbox Code Playgroud)

如何将每个变量和值插入哈希表.

我将能够区分或访问变量输入[通道0]输入在`[ 频道1 ]?

perl hash ini

0
推荐指数
1
解决办法
473
查看次数

标签 统计

hash ×1

ini ×1

perl ×1