LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs > karthik3152
User Name
Password

Notices


Uncategorized Entries with no category
Old

Object oriented programming perl

Posted 06-06-2011 at 02:55 PM by karthik3152

perl Object Oriented:
There are many chances that you may get confused with Perl Object Programming

To make the point clear let us first look at references at Perl

@friends = ("Rachael","Phoebs");
%animals = ('donald' => 'duck','mickey' => 'mouse' );



To intiaize references to a variable use:
In case of array:
$ref = \@friends
In case of hashes
ref = \%animals;
In case...
LQ Newbie
Posted in Uncategorized
Views 655 Comments 0 karthik3152 is offline
Old

awk variables

Posted 05-30-2011 at 01:42 PM by karthik3152

awk variables
In awk there are many default variables which can be used .
We will see each of them with examples:
acer@ubuntu:~$ cat > record1
John robinson
koren inc
phno:555555555


usha
yyy technologies
ph no:546456456


dddd
aaa technologies
ph no:44444444


acer@ubuntu:~$

consider the above record in which our requirement is to produce a single line...
LQ Newbie
Posted in Uncategorized
Views 713 Comments 0 karthik3152 is offline
Old

awk variables

Posted 05-30-2011 at 01:40 PM by karthik3152

awk variables
In awk there are many default variables which can be used .
We will see each of them with examples:
acer@ubuntu:~$ cat > record1
John robinson
koren inc
phno:555555555


usha
yyy technologies
ph no:546456456


dddd
aaa technologies
ph no:44444444


acer@ubuntu:~$

consider the above record in which our requirement is to produce a single line...
LQ Newbie
Posted in Uncategorized
Views 516 Comments 0 karthik3152 is offline

  



All times are GMT -5. The time now is 11:07 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration