On 06/25/2007 12:40 PM, RICHARD FERNANDEZ wrote:
[...]
I'm not sure where else to go with this. It looks like I can eventually
get what I need installed, but not without a long bumpy ride first.
[...]
A nice feature for someone to add to CPAN.pm would be the option to set
the preferred ftp opt
neil morrow <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> This is my first post on the group, so here it goes
>
> What are the best resources for a young developer beginning to develop
> web applications with Perl?
>
Hi.
In Perl you have many choices to do it job.
look in http://search.cpan.o
On Jun 25, 8:32 am, [EMAIL PROTECTED] (Richard Fernandez) wrote:
> I'm trying to use the CPAN shell to install some modules from our
> internal CPAN mirror.
> I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/
Is your mirror server running Apache or some http server? I have an
internal mirr
Hi Tom,
Thanks for the response.
> It's undocumented, but maybe try this:
>
> BEGIN { $CPAN::DEBUG = 512; } # FTP?
>
Not sure where to plug in this BEGIN {}...
> perl -MNet::Netrc -lwe 'print join " ",
> Net::Netrc->lookup("MyCpanMirror")->lpa'
>
It looks like Net::Netrc is working:
On 6/25/07, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote:
I'm trying to use the CPAN shell to install some modules from our
internal CPAN mirror.
I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/ , and I have a
valid .netrc configured with a user and password for the mirror box.
At first
One other thing. I am able to successfully login to the mirror box using
command line FTP and netrc for authentication.
richf
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi folks,
I'm trying to use the CPAN shell to install some modules from our
internal CPAN mirror.
I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/ , and I have a
valid .netrc configured with a user and password for the mirror box.
At first I was able to query/install modules easily, but t
On 6/25/07, Mihir Kamdar <[EMAIL PROTECTED]> wrote:
if (2 != ($#ARGV+1)) {
That works, but it's usually written more like this:
if (@ARGV != 2) {
open INFILE, "<$ARGV[0]" || die "unable to open INFILE";
open OUTFILE, ">$ARGV[1]" || die "unable to open OUTFILE";
These don't do what the
On Jun 24, 9:05 pm, [EMAIL PROTECTED] (John W. Krahn) wrote:
> [EMAIL PROTECTED] wrote:
> > On Jun 24, 3:31 am, [EMAIL PROTECTED] (Jeff) wrote:
>
> >> Second, and equally important, what kind of data structure
> >> should I put the results in? I think I need a hash of hashes
>
> > Probably a list o
On 6/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I have some 1000s of records of the following format
It looks like a pretty well-defined format. If you are up to using
Parse::RecDescent, it will probably do the job with ease. But it's
surely a power tool.
http://search.cpan.org/a
Hello,
The list continents not happen in my screen.
I try to digit:
Select your continent (or several nearby continents)
[] 1
invalid items entered, try again
Select your continent (or several nearby continents)
[] Europe
invalid items entered, try again
Select your continent (or several nearby
On 6/25/07, Rodrigo Tavares <[EMAIL PROTECTED]> wrote:
snip
Select your continent (or several nearby continents)
[]
Sorry! since you don't have any existing picks, you
must make a
geographic selection.
snip
There should be a list of continents before the []. Are you trying to
run this on a mac
Hello,
See the log with i run perl -MCPAN -e shell:
Now we need to know where your favorite CPAN sites are
located. Push
a few sites onto the array (just in case the first on
the array won't
work). If you are mirroring CPAN to your local
workstation, specify a
file: URL.
First, pick a nearby con
On 6/25/07, sivasakthi <[EMAIL PROTECTED]> wrote:
What is order of retrieving the values from Hash??
Hash data items are retrieved in the "natural" order in which they're
stored in the hash. It's hard to say what that order is, but we know
what it's not. It's not alphabetical order, and it's n
Hi Tom,
I found a script which does this for me which is as follows:-
#!/usr/bin/perl
#open(INFILE,'testJohor1.csv');
#open(OUTFILE,'xyz1.txt');
if (2 != ($#ARGV+1)) {
print "Usage: $0 \n";
exit 1;
}
open INFILE, "<$ARGV[0]" || die "unable to open INFILE";
open OUTFILE, ">$ARGV[1]"
Look at the module CGI.pm, get a little familiar with it, then look at
available CMS systems. Depends on what you want to do exactly...
neil morrow wrote:
Greetings,
This is my first post on the group, so here it goes
What are the best resources for a young developer beginning to develop
On 6/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
snip
Let's say my script is script.pl and I pass argument such as -
, it gets me the details of its record. Any help is
appreciated. I know how to do that if it is a single line record..
Also, i don't know how to deal with history line (f
There is no order in a hash.
I wouldn't call a hash array as its confusing personally.
If you require order then you can either add another sort to your hash i.e.
make it 3 level with a numerical sort.
Or use a list with a list of hashes.
You can also use Tie::Hash
-Original Message-
From
Hi Guys...
I have checked the following file..
#!/usr/bin/perl
use strict;
use warnings;
my ($a,$b);
my %array = ("jan",1,"Feb",2,"Mar",3);
while (($a,$b)= each(%array))
{print $a.$b. "\n";}
the output is like that,
jan1
Mar3
Feb2
What is order of retrieving the values from Hash??
Thanks
I have some 1000s of records of the following format
host=host1
network=10.x.x.x
ip=10.x.x.x
gw=10.x.x.1
history=history1
some comments.. multi line with some indentation at the beginning)
loc=loc1
owner=owner1
env=env1
host=host2
network=10.x.x.x
ip=10.x.x.1
gw=10.x.x.1
history=history2
s
Hi Tom...
Thank you very much for your help.
Now, it's time for me to learn perl from:
http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlobj.pod
http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlboot.pod
...as your advise.
I am going be back again to you in this mailing-list afterall if
On Saturday 23 June 2007 15:08, Tom Phoenix wrote:
> On 6/23/07, Michael Scondo <[EMAIL PROTECTED]> wrote:
> > sub thread1{
> > print "1\n";
> > lock $x;
> > print "locked x: 1\n";
> > cond_wait $x;
>
> Can't get past here until $x is
Greetings,
This is my first post on the group, so here it goes
What are the best resources for a young developer beginning to develop
web applications with Perl?
Respectfully,
Neil
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://lear
23 matches
Mail list logo