David Cantrell 🏏 on Nostr: $ perl -E 'say "positive" if(shift() + 0 > 0)' "information" positive $ perl -E 'say ...
$ perl -E 'say "positive" if(shift() + 0 > 0)' "information"
positive
$ perl -E 'say "positive" if(shift() + 0 > 0)' "in formation"
$
LOL #perl
Published at
2024-08-16 22:01:30Event JSON
{
"id": "2c1153595f6e45548b64be3d661b3e89225d7a7b3474fbd49315a45006d3e03e",
"pubkey": "71fbf407188f2476fcd2706f75f6c209375c951c8fbe90c22295f461270fb67c",
"created_at": 1723845690,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/@DrHyde/112973951190928975",
"web"
],
[
"t",
"perl"
],
[
"proxy",
"https://fosstodon.org/users/DrHyde/statuses/112973951190928975",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/DrHyde/statuses/112973951190928975",
"pink.momostr"
],
[
"-"
]
],
"content": "$ perl -E 'say \"positive\" if(shift() + 0 \u003e 0)' \"information\"\npositive\n$ perl -E 'say \"positive\" if(shift() + 0 \u003e 0)' \"in formation\"\n$\n\nLOL #perl",
"sig": "5e1920796bcb69d3598bae15541501b0001e017e8ba53346e9d4fbd49ffdec166e95818b211e7332ec878f0fd5684ce3ec12c543c0539df01bc972f1be48cfd7"
}