| |
thread by: ankitmathur |
last post Sep 24 '10 by: ankitmathur
Hi Everybody,
I am new to perl so am asking you all a very basic question.
Do we get to have a compiled file in perl just like java?
What I mean is whether we get to have a compiled file for our .PL files like we get to have .CLASS compiled files in JAVA.
If yes, I'd appreciate if somebody could guide me about how to get it. I...
|
thread by: vibhakhushi |
last post Sep 23 '10 by: vibhakhushi
I have an array
@myarray = ("father","mother","sister","brother");
How to find the position of "sister" in @myarray
I didn't get any built in functions to do this. I'm a newbie in Perl. Please suggest some good tutorial.
|
thread by: Pushkin |
last post Sep 20 '10 by: toolic
Hello,
Could someone please help me define and imported a subroutine. I will try to make this simple.
Script-A contains all of the processes for script-B. Script-A uses script-B as a 'use base'.
Script-A (containing the processes) has subroutine-1 which is used by subroutine-2
How do I import/define script-A subroutine-2 to...
|
thread by: Stephen44905 |
last post Sep 20 '10 by: RonB
I've seen this question posted previously on bytes.com, but the question was never fully answered.
Hypothetically, use this as a URL: http://subdomain1.subdomain2.domain.subdomain3.com What I'm looking for is a way to extract just the domain name leaving the subdomains and any other data excluded.
At any given point, I won't know how many...
|
thread by: spyka |
last post Sep 17 '10 by: RonB
I have a CGI page with a table which is populated by fetching the data from database, in a word its like a DATAGRID.
And just at the bottom right end of tha Grid I need a link like "First << 1 2 >> Last"
or like" |< < > >| "on clicking which I can navigate to and fro the records. And I am intend to have "10" records per page.
While surfing...
|
thread by: goFreeLoop |
last post Sep 17 '10 by: goFreeLoop
In my script, I would like to simulate the fact that someone presses on the "x" key on the keyboard and then presses Return.
I got some info from web, but still confused
#!/usr/bin/perl -w
require 'sys/ioctl.ph';
die "no TIOCSTI" unless defined &TIOCSTI;
sub jam {
local $SIG{TTOU} = "IGNORE"; # "Stopped for tty output" local *TTY; #...
|
thread by: preityrao |
last post Sep 14 '10 by: spyka
Hi,
I am new to perl and was trying to write a perl program witha UI.
i.e. I have written a html form which invokes a perl program to execute and to print back the data selected in the form.
When i enter details into the html form and click on the submittal button, it throws an error saying
"Internal Server Error
The server encountered...
|
| |
thread by: spyka |
last post Sep 14 '10 by: numberwhun
Actually I have a CGI form which consists of
textfields and I need a combobox in which I can
enter my own data dynamically. May be it seems very
silly question but I am new to cgi-perl as well as
HTML so no idea what to do. Here is my form:
#!C:\perl\bin\perl.exe
use CGI;
use CGI qw/:standard/;
|
thread by: Pooja Ghosh |
last post Sep 13 '10 by: Pooja Ghosh
i need to write a script in perl in which i connect two routers, configure their ip addresses using two links, using interface type as sonet and ping
|
thread by: inês |
last post Sep 12 '10 by: RonB
hello!
I need help whith perl.
I have 2 files, i whant to open them compare one colun and if they iqual i whant to write at the 1ª file some coluns of the second file.
Exemple:
File 1
2; apartamento; T2; manuel; 120.000€; Activo
|
thread by: koduruabhinav |
last post Sep 11 '10 by: koduruabhinav
Hi,
I have two files and each consists of modules and in turn modules consists of some verilog
data and instances.i have to search for module name in the two files and comapare the
contents of the modules in the two files.
i have code it does module search,extract the contents of modules and compare
|
thread by: koduruabhinav |
last post Sep 10 '10 by: pradeepkr13
Hello,
i was a beginner in perl .but my TL gave me critical work.
my task looks simple!But not.i was trying for 4days.
i have uploaded the files also.
i have two text files each contain code in modules.
my task i have to take module name from the user
|
thread by: michaelperl |
last post Sep 9 '10 by: michaelperl
hi all !
I need some help please
I'm using a database tool for developing and driving dynamic content.
With the tool I use I make queries based on my tables and I set the sorting order of my mysql tables.
Unfortunately the sorting tool does not function.
Is there any way or 3th party script that will enforce my mysql tables to sort on the...
|
thread by: samueln12 |
last post Sep 9 '10 by: Frinavale
Hi ALL,
I have a MS 2003 server. All my text files are available in the server.
I have 5 clients attached to the server.
Now what i want is
If any client user opens a text file from the server, other client user should be able to know that this file is already opened.
|
thread by: Cantaloupe |
last post Sep 9 '10 by: RonB
Are any of these out-of-date? If so, what is their replacement?
CGI::Application::Plugin::AutoRunmode
CGI::Application::Plugin::DBH
CGI::Application::Plugin::Session
CGI::Application::Plugin::Authentication
CGI::Application::Plugin::Redirect
CGI::Application::Plugin::ConfigAuto
HTML::Template
|
| |
thread by: spyka |
last post Sep 8 '10 by: chaarmann
i have a login page called as Login.cgi...after entering a valid Password i get redirected to page called as Main.cgi..here i need to have a HORIZONTAL MENU and submenu like as it is in this page like "ASk ur questions" "write an article"..and so on...
AM new to perl so help me with some codes or links or any websites which might help me in...
|
thread by: koduruabhinav |
last post Sep 7 '10 by: koduruabhinav
i have two modules.txt files
module1.txt
module2. txt
i have to comare the conents of files and i have to print the output as folls
module1 module2
.COMPENSATION ( "ZHOLD" ), .COMPENSATION ("EXTERNAL" ),
|
thread by: spyka |
last post Sep 7 '10 by: chaarmann
wenevr after the password validation, if its
correct then instead of redirecting to another
page its showing ths msg...
Status: 302 Found Location: http://localhost/cgi-
bin/Main.cgi
please gv me the solution for this...
#!C:\perl\bin\perl.exe
use strict;
|
thread by: certteam |
last post Sep 4 '10 by: toolic
hai everybody
first of all thank u for allowing me to join this forum.
i m a newbie to perl script but had done some projects with windows batch..
my new project is to create a output of a pc system audit.
i had got csv files from windows wmic script.. which is uploadeded below (one of patches and other is disk info).both are in csv format...
|
thread by: solomon123 |
last post Sep 4 '10 by: RonB
Hi,
I wanted to connect sql server using osql in UNIX environment Perl script,how do i get the result set and how to handle the error as well. any help really appreciated.
|
thread by: Kalpesh Katwala |
last post Sep 4 '10 by: RonB
hi All,
I've a small script, parses thru an array, gets input from it and executes a telnet command on a unix server.
I want to start these command in the background on the remote unix server and then close the telnet session and keep running these.
What happens is that only one of those nohup command works at a time. Anyone has any...
|
thread by: Thomas Jeffries |
last post Sep 2 '10 by: chaarmann
I am new at using a scripting luaguage. I am trying o use Perl to copy files from server #1 to a folder on server #2. One of the files being copied to server #2 is a zip file. I need to execute winzip to unzip files to another folder on server #2. Is there away to do this using Perl?
|
thread by: kapilsri22 |
last post Sep 1 '10 by: Oralloy
Hi All,
I am trying to use PDF::API2 module . Since i do not have the root access, I installed the above module locally at ~/some_dir/lib.
The contents of ~/some_dir/lib are :
~/some_dir/lib/PDF/API2/
~/some_dir/lib/PDF/API2.pm
~/some_dir/lib/sun4-solaris
I am using the "use lib" pragma in script.The exact syntax is as below
use lib...
|
| |
thread by: ketanm |
last post Sep 1 '10 by: pradeepkr13
Hi all,
I have to find common files(file name is always changed) from different directories.for eng.
i have two directories first is c:\dir contains more than one file and second is d:\ddir contains more than one file
i want output as below.
1)c:\dir\subdir\filename.txt
2)d:\ddir\subdir\filename.txt
Please let me know how can i...
|
thread by: powerfulperl |
last post Aug 31 '10 by: numberwhun
I want to locate a string 'Local=IN' from a file and I am sure that this string is located within 100 lines(assumption) from the beginning of the file out of 5000 lines. The 100th line start with the word '--Begin'. So in order to locate the string from only 100 line, I think copying all the file content into any array is not a good idea.
I...
|