The Tutorials in this series are created in PERL 5.14.2 on Ubuntu 12.04. Perl (Practical Extraction and Reporting Language) is widely used open-source language. Read more
Foss : PERL - English
Outline: Referencing: Create a reference by adding \ (backward slash) Demo of various examples Add, remove, access elements of array reference / hash reference in the script with example..
Outline: 1. Special variables have a predefined and special meaning in Perl. 2. These variables are denoted by usual variable indicator such as $, @, % along with punctuation chara..
Outline: File Handling 1. Open a File 2. Open a File in Read Mode 3. Open a File in Write Mode 4. Open a File in Append Mode 5. Close the FileHandle
Outline: Exception and error handling When an error occurs, exception and error handling helps to recover the program. Methods used in Perl: 1. warn() 2. die() 3. eval()
Outline: Including Files or modules in Perl program We can include the Perl modules or files by using the following methods. 1. do: It includes the source code from other files into t..
Outline: Sample Perl program We have included all the major topics we covered so far in this sample program. This program will give the output of various weather forecast reports of a..
Outline: Perl Module Library Comprehensive Perl Archive Network (CPAN) is the library of modules. 1. User can make use of the existing modules available in CPAN 2. New modules cre..
Outline: Downloading CPAN module 1. Linux OS: There are several ways to download. Type cpan and press Enter. This gives us cpan prompt. Type install module name. 2. Windows OS: W..
Outline: Perl and HTML 1. To create HTML pages, Perl provides CGI module which creates CGI script with require HTML tags. 2. There are different methods which CGI modules provide to a..
Foss : PERL - Gujarati
Outline: 1.ઉબ્નટુ લીનક્સ પર પર્લ 5.14.2 ઇન્સ્ટોલેશન કરવું. લીનક્સ માં XAMPP ઇન્સ્ટોલેશન કરવું. (XAMPP, અપાચે બનેલી સંચિત પેકેજ છે PERL, PHP અને MySQL પેકેજો લીનક્સ માટે ઉપલબ્..
Outline: વેરીએબલ વેલ્યુને સંગ્રહ કરવા માટે માટે વપરાય છે,ટેક્સ્ટ સ્ટ્રીંગ,નમ્બર અથવા એરેસ પર્લમા બધા વેરીએબલ $ ચિન્હ થી શરુ શરુ થાય છે. પર્લમા વેરીએબલ ડીકલેર કરવા: $var_name = value; ઉ..
Outline: Perl મા કમેન્ટસ બે પ્રકારના કમેન્ટ - 1. સિંગલ લાઈન કમેન્ટ 2. મલ્ટી લાઈન કમેન્ટ સિંગલ લાઈન કમેન્ટ # આ ચિન્હ થી શરુ થાય છે મલ્ટી લાઈન કમેન્ટ કોડના ભાગને કમેન્ટ કરવા વપર..
Outline: ફોર -ફોરઈચ-લૂપ 1. ફોર લૂપ ફોર લૂપનો ઉપયોગ કોડનાં અમુક ભાગને એક નિશ્ચિત દરે એક્ઝીક્યુટ કરાવવા માટે કરી શકાવાય છે. 2. ફોર -ઈચ લૂપ એકાદ કંડીશન પૂર્ણ એરે માટે તપાસવી હોય તો, આપ..
Outline: 1. વ્હાઈલ લૂપ કન્ડીશન ટ્રૂ હોય તો વ્હાઈલ લૂપ બ્લોક કોડને એક્ઝીક્યુટ કરશે. 2. ડુ-વ્હાઈલ લૂપ do-while loop ઓછામાં ઓછી એક વાર કોડના ભાગ ને એક્ઝીક્યુટ કરશે. જયારે કન્ડીશન ટ્રૂ..
Outline: પર્લમાં ઇફ સ્ટેટમેન્ટ નો ઉપયોગ જયારે નિર્દિષ્ટ કન્ડીશન સંતુષ્ટજનક હોય ત્યારેજ કોડ ના ભાગ ને એક્ઝીક્યુટ કરે છે. if-else કન્ડીશનલ સ્ટેટમેંટ નો ઉપયોગ સામાન્ય કન્ડીશન તપાસવા માટે થ..
Outline: પર્લમાનાં If-elsif-else સ્ટેટમેંટનો ઉપયોગ અનેક કંડીશનો તપાસવા માટે થઇ શકે છે અને જ્યારે તમામ કંડીશનો ટ્રૂ હોય ત્યારે તે મૂળભૂત else (એલ્સ) બ્લોકને એક્ઝીક્યુટ કરે છે. સ્વીચ એ કન્..
Outline: Outline: પર્લ ત્રણ પ્રકારના ડેટા સ્ટ્રક્ચર ધરાવે છે. 1. સ્કેલર આ પર્લમા મૂળભૂત સ્ટ્રક્ચર છે. પર્લમા વેરીએબલ ડીફાઈન કરવું સરળ છે. ઉદાહરણ $variable = 9; 2. ..
Outline: એરે પર્લમા ઉપલબ્ધ એક ડેટા સ્ટ્રક્ચર છે. પર્લમા એરે કોઈ પણ પ્રકારના ડેટા ને રાખે છે. પર્લમા એરે નું વધવું અથવા ઘટવું એલિમેન્ટના ઉમેરવા અથવા કાઢવા પર આધાર રાખે છે. એરેનું છેલ્લ..
Outline: 1. push એરેમાં છેલ્લે એલિમેન્ટ ઉમેરવા. 2. pop એરેમાં છેલ્લે એલિમેન્ટ કાઢવા. 3. unshift એરેના શુરુઆતમાં એલિમેન્ટ ઉમેરવા. 4. shift ..
Outline: 1. હેશના એલિમેન્ટ ને એક્સેસ કરવું. 2. સામાન્ય હેશ ફંક્શન કીઓ હેશનું રીટન કી વેલ્યુઓ હેશની રીટન વેલ્યુઓ ઈચ આગામી કી પુનઃપ્રાપ્ત/વેલ્..