2,977 Topics

Member Avatar for
Member Avatar for samaru

This book is excellent: [b]Sams Teach Yourself Shell Programming in 24 Hours (2nd Edition)[/b] [url]http://www.amazon.com/exec/obidos/ASIN/0672323583/qid=1034404576/sr=2-3/ref=sr_2_3/102-8089820-6681729[/url] It received good reviews. Here's my personal review from Amazon.com: This is probably one of the best books by Sams that I've read. If you want to start shell programming, you've picked up the perfect …

Member Avatar for jenn11
-1
478
Member Avatar for FrankQC

I want to make it so that in the terminal (where the post-execution occurs), the input is at the bottom of it, rather than at the top. Does anyone know how to do this?

-1
42
Member Avatar for jmh185

Can anyone help with this... Google is being very strange, won't let me log into iGoogle, all links opened redirect me to yahoo.de unless i 'open in new tab', overall just not working very well. My log: Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 15:19:36, on 15/08/2009 Platform: …

Member Avatar for jmh185
0
277
Member Avatar for agent154

I don't get this.. I was able to use it the other day without issue, but now when I use it, the "message" that I put into the paramater doesn't get printed out to the console, and I get an error box saying "Program has stopped working. Windows is checking …

Member Avatar for agent154
0
165
Member Avatar for dipsn

I am new to perl and want to migrate VSS to SVN. I have searched for tools and codes but they are bit difficult can anyone please suggest some easy way or perl script or any link that will help me?? Its urgent please reply as soon as possible. thanks …

-1
55
Member Avatar for miac09

Hi, I'm trying to run a batch of commands from a .txt file using python. ("cmd.batch.txt" = ~1000 command lines : perl cmd.1.pl -in -parameters) and redirect renamed output files to new folders. It works fine for the first line, but I'm having trouble getting something to loop through all …

Member Avatar for willygstyle
0
159
Member Avatar for salmax2005_dw

Ajax control is not wroking fine.It is displaying partically and its behaviour is also totally different and not upto its usualy standard.Cud anyone plz give me some solution to solve this problem.urgenttttttttttttttt regards saleem

0
46
Member Avatar for pbpyrojust

So guys... everything is working properly except for when the radio button is clicked to either "yes" or "no" on the form the email that is send does not display it at all. [code] $message = " $todayis [PST] \n Attention: Interactive Media Requesting a Bid \n Phone Number: $areacode2, …

Member Avatar for pbpyrojust
0
75
Member Avatar for Acegikmo

I have a Player class, a Weapon class and a Projectile class in my applet game. The weapon class uses Projectile objects when fired. For example, everytime I click I want this code to execute: [CODE]projectileList.add( player.weapon.fire() );[/CODE] player.weapon.fire() returns one or more projectiles that the projectileList handles every frame. …

Member Avatar for Acegikmo
0
168
Member Avatar for JayT

Hi, I've been reading through some tutorials on creating a basic web upload script with perl and cgi. The problem is that my server keeps throwing an Internal Server Error 500 without giving any feedback. I am hoping that someone has run into a similar problem or there is an …

Member Avatar for bildja
0
216
Member Avatar for magix

Hello, I'm trying to simply do a SELECT from an ODBC source. It works perfectly in PHP but not in perl ! Therefore there is no problem at source or at ODBC level, it seems to reside at perl/DBI level... What I do : [CODE] use DBI; $dbh = DBI->connect('dbi:ODBC:' …

Member Avatar for magix
0
311
Member Avatar for ishamputra

Hello, some help here.. I have a gridview, at my home page, binded to a dataset. On the first column is a hyperlink, on which, if click it will go to another, page, Viewer Page, and passes the data to display on the other page pls advise, preferably in c#.. …

Member Avatar for kameswari
0
771
Member Avatar for morfanaion

At the moment I'm busy updating a number of modules for perl on one of our servers, but I'm experiencing some problems with the Mail::SPF::Query module. Most of the subtests fail right now, but I can't find out why. Anyone has a clue? Below is the output of "make test" …

0
81
Member Avatar for ChipT

I am hoping to build a website that accesses a database (possibly Amazon's SimpleDB, but perhaps not) for both presenting query results and adding additional data to the database. I hope to eventually build a sleek AJAX interface as well. I have been told that Python would be an excellent …

Member Avatar for Stefano Mtangoo
0
133
Member Avatar for shaife

Hi I have a short script :(see below) My problem is on the system lines syntax it doesnt do what I expect. Instead of running the bb command send as status dbr-cmrm06.us.ensrv.mgmt.bmc and then cat to the history_test file and send the content to the hobbit server it prints the …

0
80
Member Avatar for rayken1

use warnings; use strict; open (TEXT_FILE,'C:\Documents and Settings\rnjenga\sawa3.txt'); my ($line, $nextline); while ($line = <TEXT_FILE>) { if ($line =~ /FT\s*\Wnote.+\w+:/){ $nextline = <TEXT_FILE> ; print ("$line $nextline \n"); } if ($line =~ /FT\s*\Wnote.+none/){ $nextline = <TEXT_FILE> ; print ("$line $nextline \n"); } } close (TEXT_FILE); I have written the above …

Member Avatar for mitchems
0
122
Member Avatar for maudits

hi everybody, i need some help, I am stuck on a problem for too long. I have a decimal number (big Int), very big, (246 cypher). I need to convert this number to a 96byte char. I cannot understand how. I have already read and tried pack/unpack, but i can't …

0
60
Member Avatar for derekn

I am trying to accurately calculate percentages with perl. The problem is of course that percentages don't end up as nice, even whole numbers...and I want to truncate those number (92.38495%) to the whole number accurately reflecting the percentage (92%). Using "($value/$total)*100" gives the percentages, then I used "$value=int($value+0.5)" to …

Member Avatar for KevinADC
0
227
Member Avatar for perlfan

The following code: Exits immediately and produces the message below when search pattern "[COLOR="Green"]\b\w+{3}\b[/COLOR]" is entered: [code=perl] #!/usr/bin/perl -w #matchtest1.pl use strict; my($pattern); my($true); $_ = '1: A silly sentence (495,a) *BUT* one which will be useful. (3)'; do { print "Enter a regular expression: "; chomp($pattern = <STDIN>); if …

Member Avatar for perlfan
0
137
Member Avatar for jen140

Hello all. I have a small problem. I have a crewler, that gets into one website and extract some info from it, and writes the exctracted content to file. The only prob, that in 3~4hours of work, thise script uses 1 gig of ram. [code]for(my $increment = 1; $increment <= …

Member Avatar for lordspace
0
98
Member Avatar for perlfan

I am reading the book "Beginning Perl" by James Lee and have been pretty happy with the content so far. That said I am stuck on chpt 7 which deals with regular expressions - I can't get the backreferences to work even when I copy the source verbatim. source: [COLOR="Green"] …

Member Avatar for perlfan
0
123
Member Avatar for orwell84

I have been using this code: [code="perl"] while (($key, $value) = each (%hash)) [/code] To iterate through a hash. However, the order of the keys that it retrieves are exactly the same each time i run the script. I looked to google for answers and found the following [URL="http://www.nntp.perl.org/group/perl.perl5.porters/2008/06/msg137802.html"]bug report[/URL]. …

Member Avatar for KevinADC
0
461
Member Avatar for arya6000

Hello I'm brand new to Python, I usually program in Perl, C, C++, but I would like to try pamie with Python, I download it and I moved the 2 files called PAM30 and winGuiAuto to C:\Python26\Lib\site-packages but after I run this code [CODE] from cPAMIE import PAMIE # create …

Member Avatar for Salem
0
95
Member Avatar for LurkerPatrol

Hi Guys, I'm working on a form and was wondering if this is the simplest/only way to clear input text on a form and have it come back if the field is left blank. [CODE]<p> Name: <input type="text" value="First Name" name="fname" onfocus="if(this.value == 'First Name'){this.value=''};" onblur="if(this.value==''){this.value='First Name'};"/> <input type="text" value="Last …

Member Avatar for Airshow
0
108
Member Avatar for Amigirl824

Hi - Looking for perl scripts for checking reciprocal links e-mail ami-at-transcendevelopment dot com Thanks! SNIP

0
51
Member Avatar for jbisono

Hi, friends i have a datagrid bound a hypercolumn [CODE=ASPNET] <asp:DataGrid ID="menu" AutoGenerateColumns="False" Runat="server"> <Columns> <asp:HyperLinkColumn DataTextField="OPT_DESC" DataNavigateUrlField="OPT_LINK" DataNavigateUrlFormatString="{0}"/> </Columns> </asp:DataGrid> [/CODE] basically what i want to do is, that i want to insert into the database the users that click some links. so how can i make a clickevent …

Member Avatar for jbisono
0
353
Member Avatar for mandible

Hello I was wondering if there is a way to read a unix profile'd variable while inside my PERL code? I'm trying to do something like this. system( " execute some code >> $UNIXVAR\log"); also tried system( " execute some code >> '$UNIXVAR\log'"); I think though that the way I'm …

Member Avatar for subii P
0
137
Member Avatar for subii P

Hello, I am facing the a probelm, I wanted to read a unix PATH variable into perl script. But its not working. $path_var=`$PATH`; Can u help me in doing this. Thanks in advance, Subii

Member Avatar for masijade
0
120
Member Avatar for LSU_223

Hello - I'm trying to use Perl to run through a list of numbered folders (41..61) that have a txt file in each with a name like "ms_stem41" or "ms_stem10B.pl". I am grepping a line from these files then manipulating them. The files all start with "ms_stem". When I type …

Member Avatar for LSU_223
0
134
Member Avatar for Amps

Hi How do we install the CPAN packages, like CGI-XMLForm-0.10 in the linux system. I basically have idea of ppm through which we install in windows system ... but no idea about linux ... hw do we do it in linux. if we have to use the tar file which …

Member Avatar for Amps
0
236
Member Avatar for Vandithar

Hi, I have a URL like this: [code] $url="http://www.somesite.com"; [/code] I have to connect to this URL and download the data. Sometimes there will be problem in that particular site. So I have to reconnect and then again download the data. Here is the code to connect online. [code] #!/usr/bin/perl …

Member Avatar for KevinADC
0
202
Member Avatar for perlfan

Brand Newbie to perl. Playing around trying to get a feel for how arrays work and encountered error in title. [COLOR="Green"]#!/usr/bin/perl -w use strict; my(@array) = (10, 20, 30, 40, 50, 60); my($marker); my($EOA) = @array; for ($marker = 0; $marker <= $EOA ; $marker++){ print "@array[$marker]\n"; #line where error …

Member Avatar for KevinADC
0
698
Member Avatar for kaylar

I have a web site that I built using HTML and CSS. I uploaded the site to the server and it works great except for the add to cart button. I took the site down and put the old one back up because the shopping cart is not working. The …

Member Avatar for kaylar
0
422
Member Avatar for Amps

Hi If i add the try block it says syntex error at initlialization of for loop . Non -working code ... #!/usr/bin/perl -w use strict; try { print " 11111111111 "; } catch { print " 2222222222 "; } for (my $i = 0 ; $i < 5; $i++) { …

Member Avatar for Amps
0
130
Member Avatar for romi123

Hi guys, i am new to JSP that is why i look forward your assistance. I have a JSP page where 3 drop down lists are. on the basis of selected value from first drop down i need to have trigg new values into 2nd drop down and similarly in …

Member Avatar for jptinsmn
0
183
Member Avatar for derekn

I would like to enable users to view the contents of a zip file via CGI interface. I have tinkered around with Archive::Zip, Archive::Zip::MemberRead, and Archive::Extract, and can't seem to figure out a way to work. After perusing the net for a solution to this, it seems that perhaps the …

Member Avatar for L8onw
0
123
Member Avatar for piyushpandey

I want to create a button which when clicked, open a targeted page in new window...... Please please please help....

Member Avatar for MidiMagic
0
32
Member Avatar for thai84

Two days back I had purchased D-Link-Xtreme N™ Dual Band USB Adapter (DWA-160). This purchase was made with a big expectation i.e the manufacturer(Dlink) says its feature is [B]"DELIVERS FASTER SPEEDS AND FURTHER RANGE THAN 802.11g SO YOU GET STRONG SIGNALS FROM VIRTUALLY EVERY CORNER OF YOUR HOME"[/B] but unfortunately …

0
39
Member Avatar for thai84

Two days back I had purchased D-Link-Xtreme N™ Dual Band USB Adapter (DWA-160). This purchase was made with a big expectation but unfortunately it happened to give the same result of my Acer Notebook’s built in Adapter (Atheros AR5007EG Wireless Network Adapter), which is terribly low. I use D-Link-DSL-2740B RangeBooster …

0
40
Member Avatar for rayken1

FT CDS complement(join ( 14006...14068, 19351..20068)) FT /locus_tag= TP01_0004” FT /note=”go function: nutrient reservoir activity [goid FT 0045889] The above statement is been read as a string and I would a REGEX as follows: /^FT \s CDS \s \ / complement[0-9]/ # search line 1 /^FT \s .* \ / …

Member Avatar for rayken1
0
194
Member Avatar for adkona

Hi, I have a CLI application and when the user enters the password, I would not like it to be shown on the command line. Is there a way to do that in Perl on Linux? Thanks.

Member Avatar for KevinADC
0
66
Member Avatar for UnforsakenX

I'm trying to figure out how to get results from a database query to be displayed on a listed page and if the user wants to know more about the results they will click one of the dynamically generated items that is hyperlinked. This will then bring the user to …

Member Avatar for UnforsakenX
0
109
Member Avatar for jlondon

I have inherited a script here that churns out 3 tidy folders for creating user nt profiles, user folders, and also user mail accounts. It is now no longer working. I had created a new administrative login on the Mac station where BB edit is being used. I can run …

Member Avatar for onaclov2000
0
113
Member Avatar for himanshukec

Hi, I upgraded Perl 5.8 in Unix to Perl 5.10.0 I am using WWW::Mechanize package in my scripting. But I am not able to locate WWW::Mechanize in Perl. Can any help me ???

Member Avatar for Prakash_8111
0
73
Member Avatar for spearcarrier

... because I didn't know what else to do. I'm hoping someone out there can help me here. I run a little online comic and due to health reasons have begun to desperately seek content automation. After looking at several options, including that web blogging monstrosity that's so popular that …

-1
83
Member Avatar for samarthashok

Hello I have an jpeg image and on the right hand side of the image are some names which i want to make active, Kindly let me know how to go about it ? Actually, i am making a website for a restaurant, and he has given me an image …

Member Avatar for alishiraz89
0
82
Member Avatar for Matrix28

I'm working with a com object that was originally designed for ASP. For this one function you specify the name of the field and the variable name that will hold the return value but this doesn't work: [ICODE]$Enable->GetField("LINE",\$Line});[/ICODE] This is how it was originally written in asp [ICODE]Enable.GetField("LINE",Line)[/ICODE]

Member Avatar for wickedxter
0
90
Member Avatar for affee

I need to access 2 variables sent to this script; fieldsearch and fieldvalue, both are sent from a php script (using passthru) but the sytax is incorrect as I get a 500 error : [Mon Jun 8 12:17:51 2009] perlSOAP.cgi: Global symbol "$fieldsearch" requires explicit package name at perlSOAP.cgi line …

Member Avatar for wickedxter
0
132
Member Avatar for maxjackie

Hello friends , I have a problem like there is web application and i have to write a script that should login to the application and then move other parts of the application [code="perl"] use HTTP::Request::Common qw(POST); use LWP::UserAgent; use Data::Dumper; $ua = LWP::UserAgent->new(keep_alive=>1); my $req = POST "http://servername.com:5002/index.php", ['user_name' …

Member Avatar for wickedxter
0
168
Member Avatar for Prakash_8111

Hi All, Can any one suggest how to connect remote more than one remote server one by one inside a loop through Net::SSH::Perl package ? , I have to connect to 9 remote server, I am able to connect the first server , execute some command there come out again …

Member Avatar for wickedxter
0
99

The End.