senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 10-Jan-2019 03:12:49 JST すー (portable) すー (portable)

    レアケースだけど、perlでも変数が数字か文字列かを判断する方法がある。リファレンスをJSONに変換するときとかに数字か文字列か意識する必要がある。

    for (100, "100") {
    if ($_ ^ $_) {
    print "$_ is string\n";
    }
    else {
    print "$_ is numeric\n";
    }
    }

    In conversation Thursday, 10-Jan-2019 03:12:49 JST from pm.ernix.jp permalink
    • まめも repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.