Hub Of Geekz

  • Home
  • About Me
  • Contact Us
  • Home
  • Languages
    • C++
    • Java
    • Perl
    • Prolog
    • Bootstrap
  • Database
    • SQL
    • PL/SQL
  • Study
    • Java
      • Java Collection
      • Java Concurrency
      • Java Interview Questions
      • Java Networking
    • Number System
  • Kavita
  • Entertainment
    • Hinglish Cafe
    • Videos
    • Jokes
  • Windows Tricks
  • How To

Saturday, 31 January 2015

Fanna Khafa Juda Nirmal Awasthi Nilesh Tripathi

 Kavita house     15:31     No comments   

dear friends

this is my firsht video song please view link and kindly comment for this what is good
or if any implementation need then please suggest me 

your freind 
NIRMAL AWASTHI

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Wednesday, 14 January 2015

Scalar variables in Perl

 Earthcare Foundation NGO     00:18     Perl     No comments   

A scalar variable is a variable in Perl in which we can store exactly one item- a line of input,a piece of text,a number etc.

The name of a scalar variable starts with a dollar ($) sign followed by at least one letter which is followed by any number  of digits or letters or underscore (_) sign.

For ex

$x
$var
$var1
$v_1_3_w

all are valid examples of scalar variables.

For ex

var
12
$12
$_ 
are not valid examples of scalar variables.

We can assign values to these variables by using assignment operator (=).
As $var=10;
here value 10 is assigned to variable $var.

These variables can be of any length.
$this_is_really_a_very_very_very_long_variable
is a valid variable.

The variables are case sensitive in Perl
means $var and $Var are different scalar variables.


Here is a simple program

#!/perl64/bin/perl 
 $scalar_variable=10;
 print("The value of scalar variable is ", $scalar_variable);


Output:

               The value of scalar variable is 10
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Tuesday, 13 January 2015

Perl Basics

 Earthcare Foundation NGO     23:27     Perl     No comments   

Perl is an interpreted high-level programming language developed by Larry Wall.
Perl stands for practical extraction ans reporting language.It is basically a scripting language, which is compiled each time before running. It is a powerful and famous scripting language now a days.

For writing programs in Perl you just need a text editor in which you can write the program and then save it with .pl extension and you need a Perl interpreter.
So now here is the first program which is hello world in Perl

Program:

           #!/perl64/bin/perl 
           print ("Hello, world!\n");

Output:

Hello, world!


So now we have run our first Perl program.Its very simple.We use print function for printing anything as output.


On Windows we can use notepad for writing the programs and command prompt for running perl programs.
For this first we have to tell the system where the Perl interpreter is?For this we just go to the folder where the Perl interpreter is.Normally in windows default location for Perl is in C drive .

cd perl64
cd bin

and then for running the program
perl hello.pl


where hello.pl is the name of the program.




”
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Posts Older Posts Home

Ad


Jobsmag.inIndian Education BlogThingsGuide

Subscribe

Do you want fresh and hot updates about us? Then subscribe to our Feeds.

Total Pageviews

Popular Posts

  • Write a program in PL/SQL to print the factorial of a number.
    In this post I will explain how to get the factorial of any given number. For that first you need to know what is the procedure to find ...
  • To find the GCD of two numbers in PROLOG.
    gcd(X,Y):-X=Y,write('GCD of two numbers is '),write(X); X=0,write('GCD of two numbers is '),write(Y); Y=0,write('G...
  • Write a PL/SQL code to get the Fibonacci Sequence
    First, I will explain what is Fibonacci Sequence and how to get this series. So, Fibonacci Sequence is a series of numbers 0,1,1,2,3,5,8,1...

Label

All Articles Best Resources Blogging Boost Traffic Bootstrap C Plus Plus Collection Comedy Comedy Posts Comedy Videos Concurrency creative commons website Education Employee Entertainment Fibonacci Sequence free images GirlFriend Hinglish Cafe How To Image Websites Inspirational Java Java Interview Questions Java Networking Kavita Sangrah Life Lock Sreen Love Number System Patterns Perl Picture PL/SQL Plastic Engineering Programming Prolog public domain SEO Servlet Short Story Shortcut Keys Social Media Social Services SQL SuVichar Thread Traffic True Events Ultimate Guide Windows Tricks Windows8.1 WordPress

Blog Archive

  • ►  2020 (43)
    • ►  September (41)
    • ►  August (2)
  • ►  2019 (1)
    • ►  July (1)
  • ►  2018 (9)
    • ►  September (7)
    • ►  July (1)
    • ►  May (1)
  • ►  2017 (8)
    • ►  June (3)
    • ►  May (3)
    • ►  March (1)
    • ►  January (1)
  • ►  2016 (2)
    • ►  September (1)
    • ►  January (1)
  • ▼  2015 (91)
    • ►  December (1)
    • ►  November (1)
    • ►  October (6)
    • ►  May (10)
    • ►  March (20)
    • ►  February (50)
    • ▼  January (3)
      • Fanna Khafa Juda Nirmal Awasthi Nilesh Tripathi
      • Scalar variables in Perl
      • Perl Basics
  • ►  2014 (339)
    • ►  December (1)
    • ►  October (55)
    • ►  September (58)
    • ►  August (94)
    • ►  July (64)
    • ►  June (67)
  • ►  2013 (34)
    • ►  August (5)
    • ►  April (29)
  • ►  2012 (20)
    • ►  November (1)
    • ►  October (15)
    • ►  September (4)

Author

  • Earthcare Foundation NGO
  • Kavita house
  • Unknown
  • Unknown

Info

Copyright © Hub Of Geekz | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates