Post History
Perl, 15 bytes say"say <>+".<> e.g. Calling from bash: $ P1='say"say <>+".<>' $ N1=15 $ N2=27 $ P2=$(echo $N1 | perl -E"$P1") $ echo $N2 | perl -E"$P2" 42
#2: Post edited
#Perl, 15 bytes- ```
- say"say <>+".<>
- ```
- e.g. Calling from bash:
- ```bash
- $ P1='say"say <>+".<>'
- $ N1=15
- $ N2=27
- $ P2=$(echo $N1 | perl -E"$P1")
- $ echo $N2 | perl -E"$P2"
- 42
- ```
- # Perl, 15 bytes
- ```
- say"say <>+".<>
- ```
- e.g. Calling from bash:
- ```bash
- $ P1='say"say <>+".<>'
- $ N1=15
- $ N2=27
- $ P2=$(echo $N1 | perl -E"$P1")
- $ echo $N2 | perl -E"$P2"
- 42
- ```
