å¤æ¬¡å é åã§ã½ã¼ãã£ã¦ã®ãæè¿perlããã£ã¦ãªãã®ã§ï¼perlã§ãã£ã¦ã¿ããã¨ã«ãã¾ããï¼ å ã¯ã¨ããã°ï¼perlã«æ§é ä½ãç¡ããã¨ãã¯ããã¦ä»æ¥ç¥ã£ãããã§ããï¼ã¾ãï¼ç§ãperlã使ãå ´é¢ã¨ãã£ããï¼ãªãã¨ãªãããã¹ãå¦çï¼ãããï¼sed&awkã§å¦çã§ããªãå ´åã«éã£ã¦ããã®ã§ï¼ãããããªãï¼ ã§ã ï¼æ§é ä½ã®ã½ã¼ãããããã£ãããã§ãï¼ struct hoge { int id; char* moge; char* koge; }; ãidã§ã½ã¼ãã¿ããã«ãï¼ã§ï¼æ§é ä½ç¡ãã®ã§ï¼ã¿ãªããhash使ã£ã¦ããããã§ãããï¼å¥ã«, use constant XXX;ã£ã¦ã®ã§å®æ°ã宣è¨ã§ãããããªã®ã§å¤æ¬¡å é åã§ã¹ã¤ã«ãããããã¨ãããã¨ã«ãªãã¾ããï¼ use constant ID=0; use constant MOGE=1; use constant KOGE=2; $hoge[0]
{{#tags}}- {{label}}
{{/tags}}