Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Perl / Getting Started / March 2009



Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
How can I select an item from a listbox?31 Mar 2009 18:53 GMT3
I have tried a dozen different ways but can't retrieve an item from a
list box.  With a cursor on the item it is highlighted (= active?) but
code such as
$selected = $lbox -> get('active');
Pattern matching question31 Mar 2009 16:44 GMT2
Please be patient with this beginner. I have a subrouting as follows,
that prints out an ASCII representation of chess board
sub display_board {
       foreach (0..7) {
Array question31 Mar 2009 03:04 GMT6
Here is my problem;
I have a series of arrays with 0s and 1s. here is an example: (1, 0, 1, 1).
I need to parse through this series of arrays and extract the index of the
0s in the array.
Input from bash shell to perl -e30 Mar 2009 18:47 GMT3
I have a perl -e function in my .bashrc file.
This sources in the perl -e function so I can run it by just the command name.
I'm having trouble with the substitution of my $1 bash variable into
the perl -e function.
Accepting terminal input with pre-loaded editable value30 Mar 2009 17:22 GMT5
This may be beyond the beginner level.... I don't know.
I'd like to prompt the user to type in a City, State, and Zip in one  
line.  It's free-form, in that it's just for display, but I can make a  
pretty decent "suggestion"  based upon data I've previously gathered.
Can't Retrieve Data From foreach block30 Mar 2009 16:22 GMT2
How can I retrieve data loaded into an array within a foreach block?
The array is defined outside the foreach block and is not the indexing
array of the foreach loop.
I have defined three arrays
Use of my on left side breaks STDIN on right side?30 Mar 2009 03:35 GMT2
> perl -le '$x=<STDIN>; print $x'
hello <- I TYPED THIS IN AND HIT RETURN
hello
> perl -le 'my($x)=<STDIN>; print $x'
bot trouble28 Mar 2009 19:35 GMT1
hi i am trying to write a bot that passes messages to OSC from and IRC
i'm having a bit of problem formating my output
the messages i get in my OSC client look like this:
/irc/11811/$VAR1 = rob;/$VAR1 =  testing 1 2 3
bit patterns and bitwise operations27 Mar 2009 20:49 GMT2
I have been trying to write this email for a day or two but the
content keeps shifting as my understanding of the problem develops.
I have encountered a bit of code that I am struggling to understand
completely. The code is for dealing with database fields that are
First attempt at writing simple Module27 Mar 2009 11:48 GMT5
Hi again,
I'm trying to factor out the declaration and setting of a bunch of  
variables that a suite of programs will need, as well as defining some  
subroutines that will be needed.  I've been mainly referencing  
Functions passing in arrays27 Mar 2009 02:04 GMT1
I have not had a lot of experience with writing functions in perl. However I am working on a pretty good size script that could reduce the code size by writing a function that would pass in 2  arrays, a file handle and a string. The function only uses the strings for outputting ...
parser with perl26 Mar 2009 15:24 GMT1
How to  achieve a parser with Perl?
I mean I want to put some logic (if...else, loop etc) in config file and let perl to parse them, like TCL for iRules.
thanks.
quick regex question25 Mar 2009 21:54 GMT5
I need a quick regex to strip out the following:
example:
change "remove-all-this (Keep This)" into just "Keep This"
something like:
Can anyone comment on "Sams Teach Yourself Perl in 21 Days" ?25 Mar 2009 11:55 GMT12
I've been tutoring someone in Perl 5, and as she wants to learn Perl from a
paperware book, she borrowed the book "Sams Teach Yourself Perl in 21 Days"
from her workplace's library, and started reading it. Now, all those "in 21
Days"/"in 24 hours"/"unleashed"/"for Dummies"/etc. ...
query in searching25 Mar 2009 07:43 GMT3
I am trying to search for a pattern in a file in my perl script.
Syntax used is :
system("grep \"$res\" ${data_dir}/${node}.load >
/tmp/${day[0]}.${day[1]}.${day[2]}.${node}.log");
Pages: 1 2 3 4 5 6 7 February, 2009
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.