0

what is perl in php

8th Dec 2016, 1:59 PM
ahya neha
ahya neha - avatar
10 Antworten
+ 4
Perl is different programing language. but PHP use many property from perl like comment #. and perl regex. What is your question actually
8th Dec 2016, 2:19 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 3
but rishi npm is more for node.js not JavaScript. Yes nodejs is a framework of JavaScript but it is server side.
8th Dec 2016, 2:36 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 3
npm is a NodeJS package manager. As its name would imply, you can use it to install node programs. Also, if you use it in development, it makes it easier to specify and link dependencies. It is mainly created for nodejs that is client side yes you can use them in both most of time but before nodejs there is nothing for JavaScript like that so it is for nodejs not for JavaScript.
8th Dec 2016, 2:45 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 3
Well, on nodejs is JavaScript framework or not. You can see some good answer in stackoverflow. Here it is http://softwareengineering.stackexchange.com/questions/299152/is-node-js-a-framework Hope it would clear your concept. I say it is a JavaScript framework because it is a extention library of JavaScript for server side implementation. May be I am wrong but most of people think like this. Check out the link
8th Dec 2016, 2:52 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 1
Perl is a different programming language. There are some syntax similarities though.
8th Dec 2016, 2:14 PM
Rishi Anand
Rishi Anand - avatar
+ 1
For example, if you make some project, which can be used to plot functions. Many people might need that code. So you host it on pear. Now if I require your plotting system in my project, I will search on pear, if it is available I'll fetch it, and use myself. This approach helps in writing some pieces of reusable code, so that everyone does not have to invent the wheel, they can use the wheel in their car
8th Dec 2016, 2:47 PM
Rishi Anand
Rishi Anand - avatar
0
sorry pear
8th Dec 2016, 2:25 PM
ahya neha
ahya neha - avatar
0
If you know npm. Pear is to php like npm is to JS. If you don't, pear consists of php programs, that you can reuse in your project.
8th Dec 2016, 2:32 PM
Rishi Anand
Rishi Anand - avatar
0
example plz
8th Dec 2016, 2:38 PM
ahya neha
ahya neha - avatar
0
Well nodejs is not a JS framework, it has similar library to JS only. However npm hosts JS packages. Actually the packages can work on both most of the time
8th Dec 2016, 2:40 PM
Rishi Anand
Rishi Anand - avatar