Author: admin

  • Node.js Web Module

    What is Web Server Web Server is a software program that handles HTTTP requests sent by HTTP clients like web browsers, and returns web pages in response to the clients. Web servers usually respond with html documents along with images, style sheets and scripts. Most of the web server support server side scripts using scripting…

  • Node.js TTY

    The Node.js TTY module contains tty.ReadStream and tty.WriteStream classes. In most cases, there is no need to use this module directly. You have to use require (‘tty’) to access this module. Syntax: When Node.js discovers that it is being run inside a TTY context, then:PauseNextMute Current Time 0:05 / Duration 18:10 Loaded: 4.04%  Fullscreen To check that if…

  • Variables

    Variables are the reserved memory locations to store values. This means that when you create a variable you reserve some space in memory. Based on the data type of a variable, the interpreter allocates memory and decides what can be stored in the reserved memory. Therefore, by assigning different data types to variables, you can…

  • Node.js Punycode

    What is Punycode Punycode is an encoding syntax which is used to convert Unicode (UTF-8) string of characters to basic ASCII string of characters. Since host names only understand ASCII characters so Punycode is used. It is used as an internationalized domain name (IDN or IDNA). Let’s understand it with an example: Assume if you…

  • Data Types

    Perl is a loosely typed language and there is no need to specify a type for your data while using in your program. The Perl interpreter will choose the type based on the context of the data itself. Perl has three basic data types: scalars, arrays of scalars, and hashes of scalars, also known as…

  • Syntax Overview

    Perl borrows syntax and concepts from many languages: awk, sed, C, Bourne Shell, Smalltalk, Lisp and even English. However, there are some definite differences between the languages. This chapter is designd to quickly get you up to speed on the syntax that is expected in Perl. A Perl program consists of a sequence of declarations…

  • Environment

    Before we start writing our Perl programs, let’s understand how to setup our Perl environment. Perl is available on a wide variety of platforms − This is more likely that your system will have perl installed on it. Just try giving the following command at the $ prompt − If you have perl installed on…

  • Introduction

    Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more. What is Perl? PC Magazine announced Perl as the finalist for its 1998 Technical Excellence Award in the Development Tool category. Perl Features Perl…

  • Node.js Events

    In Node.js applications, Events and Callbacks concepts are used to provide concurrency. As Node.js applications are single threaded and every API of Node js are asynchronous. So it uses async function to maintain the concurrency. Node uses observer pattern. Node thread keeps an event loop and after the completion of any task, it fires the…

  • Data Output

    Data export (or output) in MATLAB means to write into files. MATLAB allows you to use your data in another application that reads ASCII files. For this, MATLAB provides several data export options. You can create the following type of files − Apart from this, you can also export data to spreadsheets. There are two…