{"height":"190","author_name":"perlcodesample","published":"2008-09-12 13:16:08","title":"abs\u95a2\u6570 - \u7d76\u5bfe\u5024\u3092\u6c42\u3081\u308b","url":"https://perlcodesample.hatenadiary.jp/entry/20080912/1221452168","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20080912%2F1221452168\" title=\"abs\u95a2\u6570 - \u7d76\u5bfe\u5024\u3092\u6c42\u3081\u308b - Perl\u5165\u9580\u30bc\u30df\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"Perl\u5165\u9580\u30bc\u30df","width":"100%","provider_url":"https://hatena.blog","type":"rich","description":"Perl \u203a \u95a2\u6570 \u203a here \u7d76\u5bfe\u5024\u3092\u6c42\u3081\u308b\u306b\u306fabs\u95a2\u6570\u3092\u4f7f\u3044\u307e\u3059\u3002 abs $num; \u7d76\u5bfe\u5024\u3068\u3044\u3046\u306e\u306f\u3001\u7b26\u53f7\u3092\u8003\u616e\u3057\u306a\u3044\u5927\u304d\u3055\u306e\u3053\u3068\u3067\u3001\u5e38\u306b\u6b63\u306e\u5024\u306b\u306a\u308a\u307e\u3059\u30020\u304b\u3089\u3069\u308c\u304f\u3089\u3044\u96e2\u308c\u3066\u3044\u308b\u304b\u3092\u8868\u3059\u6570\u306e\u3053\u3068\u3067\u3059\u3002\u300c3\u300d\u306e\u5834\u5408\u306f\u300c3\u300d\u306b\u3001\u300c-3\u300d\u306e\u5834\u5408\u306f\u3001\u300c3\u300d\u306b\u306a\u308a\u307e\u3059\u3002 \u30b5\u30f3\u30d7\u30eb \u7d76\u5bfe\u5024\u3092\u6c42\u3081\u308b\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002 use strict; use warnings; my $num = -4; my $num2 = abs $num; print \"(1)\u7d76\u5bfe\u5024\u3092\u6c42\u3081\u308b\u3002\\n\"; print \"$num2\\n\"; Perl \u203a \u95a2\u6570 \u203a here","blog_url":"https://perlcodesample.hatenadiary.jp/","author_url":"https://blog.hatena.ne.jp/perlcodesample/","provider_name":"Hatena Blog","version":"1.0","categories":[],"image_url":null}