Yes, I read `perldoc perlfaq.*` many times. There is a lot in them. I don't remember everything that's in them. (I have a real life.) Whoever wrote this, I...
25545
merlyn@...
merlynstoneh...
Jul 20, 2007 12:41 am
... Nick> Why do you always tell everyone to read this perldoc or that perldoc, or Nick> do some studying. The list is here for us to learn from. You're an ...
25546
Mike Southern
mikesouthern
Jul 20, 2007 12:57 am
I like: "Never tell people *how* to do things. Tell them *what* to do and they will surprise you with their ingenuity." George S. Patton This is the right...
25547
Nick Sequino
nsdesu
Jul 20, 2007 1:35 am
Fair enough. Also well said. Yet I thought this list was to be used as an aide ... almost a supplement to all that time-consuming life-wasting digging. I...
25548
merlyn@...
merlynstoneh...
Jul 20, 2007 3:30 am
... Nick> Fair enough. Also well said. Yet I thought this list was to be used as Nick> an aide ... almost a supplement to all that time-consuming...
25549
cside30
Jul 20, 2007 5:12 am
As the originator of this question... I apologize the uncomfort this question has caused... My only question was if there was a better way than the way I was ...
25550
hooyar66
Jul 20, 2007 10:12 am
I have the following Hash of anonymous arrays my %mandatory = ( OPMLFeeds => [['URL39;],['OPMLURL39;,'Description39;]], Episode => ['EpisodeID39;,'Name','Streams39;], );...
25551
bike2ride
gl_bike2ride
Jul 20, 2007 10:37 am
Hi one way to track it down may be my $arrayRef = $mandatory{OPMLFeeds}->[1]; print 'My value is:', join ' ', @$arrayRef, '<br>'; Odabo ~ b2b...
25552
Mr. Shawn H. Corey
shwncorey
Jul 20, 2007 11:12 am
... print "My value is: @{$mandatory{OPMLFeeds}[1]}<br>"; Or, if you're heart's set on the arrow notation: print "My value is: @{ $mandatory{OPMLFeeds}->[1]...
25553
Arun Pandey
arunp@...
Jul 20, 2007 11:27 am
@{$mandatory{OPMLFeeds}->[1]} should be simpler. ... From: hooyar66 To: perl-beginner@yahoogroups.com Sent: Friday, July 20, 2007 3:41 PM Subject: [PBML]...
25554
hooyar66
Jul 20, 2007 12:05 pm
... Many thanks all - definitely easier on the eye....
25555
John
shastalex
Jul 21, 2007 3:02 am
And thus she saideth, to those willing to listen, "It began with a simple Perl question: how does one strip whitespace from a string? Two masters with...
25556
David Seruyange
da5id@...
Jul 22, 2007 2:37 pm
Hello everyone, I am writing code that edits a file and was wondering what the best approach is. I've currently got the following subroutine: sub...
25557
Mr. Shawn H. Corey
shwncorey
Jul 22, 2007 3:25 pm
... I would write it like this: sub removePlanEntry { my $fileName = shift @_; my $removeLinenumber = shift @_; open my $plan, '<', $fileName or die "cannot...
25558
Emen Zhao
emenzhaowork@...
Jul 23, 2007 8:49 am
If you are working on a Linux box, here is a more compact way (i hope) perl -wnl -e '$. == 1 or print;' > newfile Replace "1" with the value of...
25559
kapil v
kapil.vikram...
Jul 23, 2007 10:58 am
The code looks compact, but seems to be quite inefficient as the number of comparisons of $. with the current line number will be equal to the number of lines...
25560
pavan s
pavan8india
Jul 24, 2007 4:25 am
Hi guys, Hope u all doing good? can anyone explain to me wat is a perl undefined value? i am confused on this and also i need to know the java equivalent of...
25561
Sylvain Pascal
sylvainpascal
Jul 24, 2007 11:13 am
Hello, I would say it is the null pointer value (even if we don't hear about pointer in Java :) ) But the undefined value is called in Perl "undef" and I...
25562
Mr. Shawn H. Corey
shwncorey
Jul 24, 2007 12:24 pm
... Not quite right. #!/usr/bin/perl use strict; use warnings; my %a = (); tell_all(1); $a{'abc39;}{'place'} = undef; tell_all(2); $a{'abc39;}{'place'} = 'foobar39;;...
25563
Mr. Shawn H. Corey
shwncorey
Jul 24, 2007 12:29 pm
Oops, I should also tell you how to get rid of things. #!/usr/bin/perl use strict; use warnings; my %a = (); tell_all(1); $a{'abc39;}{'place'} = undef; ...
25564
Dukelow, Don
dondukelow
Jul 24, 2007 3:14 pm
Can anyone reamend a Perl module for doing command line menus? ... Don Dukelow...
25565
cside30
Jul 24, 2007 8:56 pm
Hi.. I am trying to pipe the output log/trace from the command, How to I direct the output to a file in Perl running in windows xp?? for example, I want the...
25566
pavan s
pavan8india
Jul 25, 2007 9:13 am
Thank you guys for giving a quick response especialy Shawn and Sylvain Pascal.. This perl is like a mystery for me and u have unravelled it.. Because of this...
25567
Dukelow, Don
dondukelow
Jul 25, 2007 1:51 pm
I have a sub name inside a variable, how do I execute the sub. ... Don Dukelow...
25568
Peter L. Berghold
blue_cowdawg
Jul 25, 2007 2:02 pm
... Hash: SHA1 ... You're question is not all that clear to me, but let me play back what I think I'm reading: You have a variable such that: my $var1 = sub {...
25569
Paul Archer
geek65535
Jul 25, 2007 2:22 pm
... I think he means he has something like: sub mysub { ...} my $var = "mysub"; The short answer to that: don't. Look at Peter's examples instead, and if you...
25570
Mr. Shawn H. Corey
shwncorey
Jul 25, 2007 2:24 pm
... You don't. This is a security breach. If the name was generated internally, use a sub reference instead. See `perldoc perlreftut` and `perldoc perlref`. ...
25571
Peter L. Berghold
blue_cowdawg
Jul 25, 2007 2:38 pm
... Hash: SHA1 ... About the only time I ever have used anything like the forms I posted in ... my $action=$cgi->param('action_rq'); my ${$table}$action}}(); ...
25572
Mr. Shawn H. Corey
shwncorey
Jul 25, 2007 2:48 pm
... ??? Shouldn't that be: &{ $table{$action} }(); The problem with this is that there is no error detection. Never assume that everything that comes back...
25573
Peter L. Berghold
blue_cowdawg
Jul 25, 2007 2:57 pm
... Hash: SHA1 ... Yes it should. Fat fingers on my part. And I thought I already said in my post there was no error checking. In the real script that used...