Wouldn't it be a mess of single quotes and double quotes?Maybe. Why do you think it will be less of a mess of single quotes and double quotes if you would program it in a different language?
Seems it's not any easier in another language.# Perl print '$samaadhi'; # Prints the text, not the value. # shell echo '$samaadhi'; /* C */ #include <stdio.h> printf("$samaadhi"); // Java System.out.print("$samaadhi"); # Python print "$samaadhi"; { Pascal } Write("$smaadhi"); // C++ #include <iostream> std::cout << "$samaadhi"; -- Haskell putStrLn "$samaadhi"; # MMIX string BYTE "$samaadhi", 0 Main GETA $255,string TRAP 0,Fputs,StdOut
In reply to Re^5: Programming Language to generate Perl Scripts
by JavaFan
in thread Programming Language to generate Perl Scripts
by samaadhi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |