Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: Programming Language to generate Perl Scripts

by JavaFan (Canon)
on May 14, 2010 at 16:13 UTC ( [id://840031]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Programming Language to generate Perl Scripts
in thread Programming Language to generate Perl Scripts

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?

# 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
Seems it's not any easier in another language.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://840031]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-24 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found