I second Aimee.
Hashes are awesome.
On Thu, Dec 3, 2009 at 9:32 AM, wrote:
> awesome... I'll have to check that out. Thanks! :-)
>
> Aimee
>
>
>
> - Original Message -
> From: Steve Bertrand
> Date: Wednesday, December 2, 2009 7:42 pm
> Subject: Re: I LOVE HASH(ES)!!! *<:-D
> To: Aim
I am not allowed to write to /var/www/cgi-bin/
I am not the root user of my machine
Is their any way i can try out my perl cgi programs on this machine( Red Hat
Linux)
Anant
}
I thought it is a reference to a hash.
Is it so? Can we directly define reference variables like this?
On Thu, Nov 12, 2009 at 4:06 PM, John W. Krahn wrote:
> Anant Gupta wrote:
>
>> ..
>> use strict;
>> ..
>>
>> my %hash;
>> my $abc;
>&g
..
use strict;
..
my %hash;
my $abc;
my $count;
while(defined($ARGV[$count]))
{
push(@hash{$abc},$ARGV[$count]);
}
Can't i use this
The error is "Type of arg 1 must be array not hash element ..."
Help
Anant
Ohh,
Thanks for the help
On Mon, Nov 2, 2009 at 1:40 PM, John W. Krahn wrote:
> Anant Gupta wrote:
>
>> Hello,
>>
>
> Hello,
>
> In the foreach loop, without going to the beginning of the loop, i want to
>> get the next iteration of data. How do i get it.
Hello,
In the foreach loop, without going to the beginning of the loop, i want to
get the next iteration of data. How do i get it.
eg
use strict;
open(FILE,";
foreach my $line(@lines)
{
if($lin =~ m/something/)
{
#some code
# get next data
# Without going to
Linux. Please tell me for windows as well, if it is very different from what
will be used in linux.
Regards
Anant
On Fri, Oct 30, 2009 at 9:46 AM, Ganesh Babu N wrote:
> Let me know your OS.
>
> Regards,
> Ganesh
>
> On Thu, Oct 29, 2009 at 5:09 PM, Anant Gupta
> wrote:
>
Hello,
I need to generate tables in an excel file, corresponding to data in an XML
file.
Can anyone provide me with a simple example using XML::Twig or XML::DOM.
I dont have access to CPAN archives, i mean i cannot use them in by system
Thanks
Thank you.
I just used "use strict" and "use warnings" and it worked.
Even now I cant figure out what difference can this make :)
Thank you for tour time
Anant
On Thu, Oct 22, 2009 at 5:19 PM, Philip Potter wrote:
> 2009/10/22 Anant Gupta :
> > Nopes,
> > I
Nopes,
It is the same
The '-' minus sign was my mistake.
I am using this on Red Hat Linux, but I am not the root user.
Will not being the root user make any difference?
Thanks
On Thu, Oct 22, 2009 at 4:33 PM, Philip Potter wrote:
> 2009/10/22 Anant Gupta :
> > I wrote
>
I wrote
#!usr/bin/perl
use Socket;
use constant ADDR => 'www.google.com';
my $name=shift || ADDR;
$packed=gethostbyname($name);
$dotted-inet_ntoa($packed);
print "DOtted Address is $packed";
but it is showing an error
"Bad argument length for Socket length in inet_ntoa" ???
Help
11 matches
Mail list logo