{"version":"1.0","categories":["perl"],"type":"rich","author_url":"https://blog.hatena.ne.jp/dechnostick/","published":"2015-04-22 00:38:39","provider_name":"Hatena Blog","height":"190","blog_url":"https://dechnostick.hatenablog.com/","width":"100%","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdechnostick.hatenablog.com%2Fentry%2F2015%2F04%2F22%2F003839\" title=\"perl \u30e1\u30e2(print \u6642\u306e\u62ec\u5f27\u306e\u6271\u3044) - \u30c7\u30af\u30ce\u30b9\u30c6\u30a3\u30c3\u30af\" 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":"\u30c7\u30af\u30ce\u30b9\u30c6\u30a3\u30c3\u30af","url":"https://dechnostick.hatenablog.com/entry/2015/04/22/003839","image_url":null,"title":"perl \u30e1\u30e2(print \u6642\u306e\u62ec\u5f27\u306e\u6271\u3044)","description":"#!/usr/bin/perl use strict; use warnings; use 5.010; { # \u62ec\u5f27\u306e\u6271\u3044\u306b\u6ce8\u610f\u3059\u308b # (1 + 2) \u306e\u307f\u304c print \u306e\u5f15\u6570\u3068\u3057\u3066\u51e6\u7406\u3055\u308c\u3001\"+ 4\" \u304c\u7121\u610f\u5473\u306a\u64cd\u4f5c\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b # \u8b66\u544a: print (...) interpreted as function # \u8b66\u544a: Useless use of addition (+) in void context print (1 + 2) + 4; # 3 print \"\\n\"; # \u5f27\u306e\u524d\u306b + \u3092\u7f6e\u3044\u3066\u8a08\u7b97\u306e\u512a\u5148\u9806\u5e8f\u3068\u3057\u3066\u306e\u62ec\u5f27\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3059 print +(1 + 2) \u2026","author_name":"dechnostick"}