top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How to define array in perl ?

+2 votes
70 views
How to define array in perl ?
posted Nov 15, 2014 by Ganesh

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
–1 vote

If i am iterating through the elements in an array, at any point is it possible to say which element i am handling without using a counter? Are there any built-ins that i can use for it?
ie foreach my $element (a..z) { ... if ( i am the 5th element ) { handle me special } }

+1 vote

I have tried to install module PDF::FromHTML from cpan but not able to get it.
Please let me know any other module to do the same. please help

+2 votes

I try to eliminate below special character "^@" by perl in the attachment. I have tried "$.*^' regular expression for elimination in perl but fail.

Have anyone got the experience to eliminate such special character? appreciate your help.

+1 vote

I have a perl script test.pl. I want to create desktop shortcut. While I click on this shortcut icon it will run my perl script and keep the terminal open.

I have tried the command

ln -s test.pl ~/Desktop/abc

while I click on this abc Icon from my desktop. It run and same time the terminal exit. Could you please help here?

My requirement is:

I want to create desktop shortcut for particular perl program. While I click on this icon from desktop, it should run and keep the terminal open.

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...