Hi Al,
Thanks a lot!! I have been able to solve my problem and have also learnt a lot from
all these inputs.
Thanks once again.
Parvez
--
- Original Message -
DATE: Thu, 18 Mar 2004 08:02:41
From: "Elston, Jeremy" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTEC
--- [EMAIL PROTECTED] wrote:
> Hello all.
>
> I'm trying to return the "ls" method from Net::FTP
> to an array like so:
> @myarray = $FTP->ls() ;
>
> foreach (@myarray) {
> print "$_\n";
> }
>
> However, I'm getting in return the following :
> ARRAY(0x2046a1a0)
Try print "@{$_}\n";
=
Ant
[EMAIL PROTECTED] wrote:
> Hello all.
>
> I'm trying to return the "ls" method from Net::FTP to an array like
> so: @myarray = $FTP->ls() ;
Change @myarray to $myarray
>
> foreach (@myarray) {
@{$myarray} for @myarray
> print "$_\n";
> }
>
> However, I'm getting in return the fo
Hello all.
I'm trying to return the "ls" method from Net::FTP to an array like so:
@myarray = $FTP->ls() ;
foreach (@myarray) {
print "$_\n";
}
However, I'm getting in return the following :
ARRAY(0x2046a1a0)
Can someone point out the problem here ?
TEV
I need to come up with a way to do heavy system IO and processor load testing on a new
enterprise storage and blade server combination.
I would like to do this in Perl but I have no idea how or even if Perl can help me do
this. The testing must load the devices to as near max as possible.
Any h
Parvez,
I was a little unclear what you wanted, but judging
from your comment, you only want to replace / with _
on the last occurance of /:
see 'perldoc perlre' for the nitty gritty
also 'perldoc perlretut'
== code ==
#!/usr/bin/perl