Software :: Use Perl And In Which Applications?
Mar 22, 2011Why is it so, when everything can be done by using shell? Why people use Perl and in which applications?
View 2 RepliesWhy is it so, when everything can be done by using shell? Why people use Perl and in which applications?
View 2 RepliesI ve been writing perl scripts for testing.( i am into telecom testing) I require a gui based tool where in the scripts can be loaded and run with one click of mouse? GTK is one option i got. But anyone knows any tool which is more user friendly, require less tweaking around for the set-up and is somewhat readymade for running perl scripts? And which is open source and can be downloaded from internet?
View 1 Replies View RelatedI am new here and want to lern CentOS. Current I have installed CentOS 5.5 x64 and Perl 5.8.8. Now i have install Perl 5.12.1 which located to /usr/local/bin/perl. But how I can move it to /usr/bin/perl so root based on Perl 5.12.1?
View 7 Replies View RelatedI am trying to launch the perl config, but when I do so I can an weird error.It seems to be that it does not regonize perl ?
conf.pl: line 11: =: command not found
conf.pl: line 19: my: command not found
conf.pl: line 20: syntax error near unexpected token `{'
[code]...
I recently reinstalled the B module for perl. Now I found out it didn't just do that, it installed a whole new copy of perl into /usr/local/bin/perl. When I type 'which perl' at the terminal, it says '/usr/local/bin/perl' instead of '/usr/bin/perl'. Normally, this wouldn't bother me. But I installed the one in local/bin without threading support. The one that comes with the system already is build with threading support, which is why I want to switch back to the system perl, and possibly remove the one in /usr/local/bin.
So how do I change it so that the result of 'which perl' returns as '/usr/bin/perl'? And what do I have to do to remove /usr/local/bin/perl?
The reason I need threading support is because I'm designing a file copier that copies several chunks of a file simultaneously to speed up the copying process. Guaranteed a useful script if it works.
I'm new in perl programming and linux OS. What is the difference between perl and perl-devel? What does mean devel? Iwant to install Catalyst and before install as required I have to check if make, gcc and perl-devel are installed in my system. make and gcc are installed. But I have to install perl-devel. First I searched for make, gcc and perl-devel in YAST Software Management and search did not find perl-devel. I visited the software.opensuse.org and wrote "perl-devel" and searched. The result was many similar zips with a prefix perl-devel and I can not choose one for needed perl-devel.
[Code]...
I am trying to setup the wlan access for my Fedora 9 system. I installed ndiswrapper. But when I run
Code:
ndiswrapper -l
i am getting the error
Code:
/usr/bin/perl: symbol lookup error: /usr/bin/perl: undefined symbol: PL_use_safe_putenv
I am unable to run perl-cgi script in my cent os Apache server. I have used locate perl command in terminal window and it gives following result:
[code]....
tell which is the path to perl for example "usr/bin perl"
I have a small problem with Perl and Apache.
If I use "#!/usr/bin/perl" in the beginning of a perl script the script won't work if the script is at all complicated. Simple scripts like "Hello World" works.
But if I use "#!/usr/bin/perl -w" in the beginning all scripts work?
If I don't use the -w this is whats in the logs:
(2)No such file or directory: exec of '/home/test.net/html/cgi-bin/uh/meny.pl' failed
Premature end of script headers: meny.pl
When I use the -w in the script the error-log shows me this.
meny.pl: Name "main::http_path_cgi" used only once: possible typo at /home/test.net/html/cgi-bin/uh/meny.pl line 24.
I haven't used Ubuntu for a while, and just reinstalled it. I have one major dislike about the new version, There are several applications I click on and it takes me to the installer.How do I remove those types of applications or just install them all?
View 3 Replies View RelatedI feel shy asking this question but, 90% of the applications I install in Ubuntu (last release), do not show up later on in the applications menu, so I cant run them. I know it seems silly, but I can't find the way to handle this inconvenience. Is there a place (like Start> All programs in Windows), were I could find and run all the programs I install?
View 1 Replies View RelatedI was wondering if there was any way to remove icons from the installed applications menu?I recently attempted to install GOG.com's Zork Anthology using Wine and when I de-installed, the icons for those files were still listed in installed applications. Is there anyway to delete them manually?
View 2 Replies View RelatedI'm setting up a large number of virtual machines, each with a basic set of about 30 applications. Obviously, I don't want to do everything manually so I'm looking for ways to automate this process. Multiple distributions (Ubuntu, Red Hat Ent., FreeBSD, CentOS, etc.) will be used, meaning I will have a few Ubuntu installs with the basic set of 30 applications, and multiple Red Hat installs with the same set, etc. So, I'm looking for advice on automating as much of this as I can, even if it means a new form of automation for each distro.
View 1 Replies View RelatedIs there a programmatic way to get the list of all installed applications on Linux.
Also, how can we get the application activities in Linux OS like running applications name, time of day when they started, duration till the applications were running on system, application version etc.
Is there a way to do this in C/C++.
I am building an app that runs like a daemon and fetches the applications status and sends it to the network admin for him to monitor the application usage pattern on the user computers in the network.
I have a windows app installed under wine. It works fine. However, it has the ability to launch openoffice to do further functions. Obviously I have openoffice installed under linux, but the wine app cannot see it. How can I make the wine app see across the emulation layer into linux to see the app it needs? Dont tell me I need to install openoffice under wine as well to get it to work!
View 5 Replies View RelatedThe possibility to run programs that are not installed on the machine, realized by copying the installation folder from another PC. In this way, I have played games and used different applications. Is there any way to do the same on Linux?
View 9 Replies View RelatedI get to my specific problem, I'm running Xubuntu 9.10 (karmic) on a Playstation 3 (PPC). I am attempting to install "Qemu-launcher".
1. Tried to install "qemu-launcher" via "Add / Remove Applications". it gave me an error about conflicting packages, and deferred me to Synaptic Package Manager.
2. Tried to install "qemu-launcher" in Synaptic Package Manager. error: "Could not mark all packages for installation or upgrade -- the following packages have unresolvable dependencies. Make sure that all required repositories are added and enabled in the preferences. -- qemu-launcher: Depends: qemu-kvm (>=0.11.0~rc1) but it is not installable"
3. Tried to download "qemu-launcher" via "apt-get" in terminal - same error as in Synaptic
4. Attempted to download "qemu-kvm" via "apt-get" in terminal: "package qemu-kvm is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source. E: package qemu-kvm has no installation candidate."
5. Found and downloaded "qemu-kvm-0.11.0~rc1.orig.tar.gz". Extracted archive.
[Code]...
I am using Fedora 11 and am interested in starting to use perl. Does Fedora 11 come with perl? If so, how do I invoke it? If not, what is the usual (popular) way of installing and running perl on Fedora 11?
View 2 Replies View RelatedTo install BackupPC I need :
XML::RSS - allows the web interface to use RSS. Nice if you want backup notifications via RSS.
But I cannot find this perl-module in the repo's via yum.
Quote:No package perl-XML-RSS available.
how to install perl-5.8.4.tar.gz in opensuse-11.4. am unable to install it
View 5 Replies View RelatedHow do I use a perl module? Am I suppose to call it from the terminal?
View 2 Replies View RelatedI just downloaded Tk-804.028 and try to install it (according to the README.linux) but I get:
> perl Makefile.PL
/opt/ActivePerl-5.10/bin/perl-static is installed in /opt/ActivePerl-5.10/lib okay
PPM for perl5.010001
Test Compiling config/perlrx.c
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c
[code]...
Any recommendations on what Perl tutorial to use?
View 1 Replies View RelatedI Installed perl-doc in ubuntu 10.04 using sudo apt-get install perl-doc,in the same way I installed doc for postgreSQL. How to use perl-doc so that I can get from perl-doc.
View 2 Replies View RelatedI want the output of this file to be in a column, not next to each ohter. I tired putting a a newline escape character in a few places, but it breaks the script. It is easy in awk, just ls -ltr | awk '{print $8 }'
casper@casper-laptop:~$ pwd
/home/casper
casper@casper-laptop:~$ ls -ltr > /tmp/outfile
casper@casper-laptop:~$ cat -n /tmp/moreawkreplace
1#!/usr/bin/perl
[Code].....
I am going to install perl GD. But when I run yum, it prompted no such packages.
Code:
# yum install perl-GD
Loaded plugins: refresh-packagekit, rhnplugin
Setting up Install Process
No package perl-GD available.
[Code]....
May I know if these two packages were merged or replaced by others? How can I get them installed?
I am taking an input from the user for free and Used capacity in a disk. I wish to convert Input entered in MBTB to GB and this is how i am doing it.
Code:
<some code>
print "Enter Total disk space";
$tot = <STDIN>;
convert($tot);
[code]...
how do i pass the value of conv[0] after conversion back to $tot or $use such that they contain only value which is in GB?
I really would like Perl Qt4 bindings. The best I could find is this:[URL]The problem is that the sources would not compile, and the RPMs are for 32-bit machines.Is there really no such thing as good Perl Qt4 bindings?
View 8 Replies View RelatedI am a newbie on linux and just searching everything about perl scripting and modules nearly 3-4 days. I need a perl script but one of not easy to find on searching google. Okay now I need a perl script which create or recreate (edit) id3 tags (artist, comment, album, year, cover) of mp3 files stored on my linux centos server. I installed MP3::Tag version 1.13 pearl module to my server. I Searched tutorials about how to use it, finally I get through reading id3 tag of mp3 file but not achieve to modify it or create a new id3tag.
These are the details:
I have a mp3 file called 1.mp3 this script will process that '1.mp3' file read its id3tag if there is one, than modify or create id3tag for it by my fix artist name for example:
'1.mp3' files id3 tag details are like this
Artist: Dj xx
Year:2010
Title:yyyyy
Comment:eerwer
Cover: x.jpg
Now via this perl script which uses MP3::TAG I will change it's
artist as YYY
Title:ttt
Comment:cool
Cover:t.jpg
these are gonna be my fixed values. I mean all '1.mp3' file will have same artist based on script value.
The reason of this script is I will share Dj podcasts on my server and Dj's would have upload their mp3's which has got different id3 tags and cover pics. etc. I want to create more organized podcasts of them by the way I would trigger this perl script via Cronjob.
How can I generate a md5 or sha-1 code with perl?
View 2 Replies View Related