Sergio Escalada wrote:
Hi all! I would like to know if it's possible to make an array sorting with
a subroutine call.
Usually, a sort is made as, for example:
sort {$a <=> $b} @array;
But my intention is something like:
sort subroutine_call @array;
If you really want to call it like this
divya wrote:
I've a file with every line having 32 bits of binary data.
I need to convert every line data to hex data.
my $binary = '11101010101010101010101010101010';
my $int = unpack("N", pack("B32", substr("0" x 32 . $binary, -32)));
my $hex = sprintf("%x", $int );
print $hex;
HtH
WayPay
perl pra wrote:
hi All,
I have to call some perl scripts with command line arguements from another
perl script.
(some thing like this)
perl -s -a $ENV{X} -b $ENV{Y} -c $ENV{Z} ; ( -a , -b, -c are also the
arguments to call the script)
( the $ENV{x}=C:\xyz\abc,$ENV{Y}=abc,$ENV{Z}=5).
Rob Dixon wrote:
values after the script has been called once you'll have to do it
manually:
param('hidden_name','new','values','here');
You can also do this:
$q->hidden( -name=>'x', -value=>$x, -override=>1 )
WayPay
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For