[30015] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 1258 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Feb 6 03:10:10 2008

Date: Wed, 6 Feb 2008 00:09:06 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Wed, 6 Feb 2008     Volume: 11 Number: 1258

Today's topics:
    Re: CGI::Carp die with status <xemoth@gmail.com>
    Re: CGI::Carp die with status <xemoth@gmail.com>
        CPerl mode problem: syntax highlighting stumbles over   <meshulum@gmail.com>
        Handling user input and program busy <mikaelpetterson@hotmail.com>
    Re: Handling user input and program busy <jurgenex@hotmail.com>
    Re: Handling user input and program busy <jimsgibson@gmail.com>
    Re: Handling user input and program busy <smallpond@juno.com>
    Re: Handling user input and program busy <jurgenex@hotmail.com>
    Re: Handling user input and program busy xhoster@gmail.com
        How to move perl from one PC to another PC (windows XP) <Shiao.li.chang@gmail.com>
    Re: How to move perl from one PC to another PC (windows <rkb@i.frys.com>
        lcd via NET::FTP <vikramganiga@gmail.com>
    Re: lcd via NET::FTP <joost@zeekat.nl>
        new CPAN modules on Wed Feb  6 2008 (Randal Schwartz)
    Re: Newbie: Non-interactive status displays - HOWTO? <joost@zeekat.nl>
    Re: Newbie: Non-interactive status displays - HOWTO? <chimpdad99_NoSpam@yahoo.com>
        Tie::IxHash::Easy with "eval()" <none@none.none>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Tue, 5 Feb 2008 13:47:24 -0800 (PST)
From: Owen <xemoth@gmail.com>
Subject: Re: CGI::Carp die with status
Message-Id: <4c814f38-6a81-4e5d-b0b7-d21ebcf29007@e10g2000prf.googlegroups.com>

On Feb 6, 2:44 am, bernd <bernd....@gmail.com> wrote:
> Hi,
>
> Has anyone experience with dying from CGI::Carp with a status?
> Using LWP one can catch status with:
>
> $response = $ua->request($req);
> $content = $response->content;
> if ($response->is_success) {
>         print $content;} else {
>
>         print $response->status_line;
>
> }
>
> However, when the script "dies" with CGI::Carp the exit status is "200
> OK".
> I'd rather have a status that is not "OK" and not scan the returned
> $content for "Software error".
>
> Has someone been able to do this?
>
> Bernd




Would

    use CGI::Carp qw(fatalsToBrowser set_message);

meet your need?


Owen


------------------------------

Date: Tue, 5 Feb 2008 13:52:09 -0800 (PST)
From: Owen <xemoth@gmail.com>
Subject: Re: CGI::Carp die with status
Message-Id: <75e3e72f-bd12-425b-911e-9b5284a91971@s19g2000prg.googlegroups.com>

On Feb 6, 8:47 am, Owen <xem...@gmail.com> wrote:
> On Feb 6, 2:44 am, bernd <bernd....@gmail.com> wrote:
>
>
>
> > Hi,
>
> > Has anyone experience with dying from CGI::Carp with a status?
> > Using LWP one can catch status with:
>
> > $response = $ua->request($req);
> > $content = $response->content;
> > if ($response->is_success) {
> >         print $content;} else {
>
> >         print $response->status_line;
>
> > }
>
> > However, when the script "dies" with CGI::Carp the exit status is "200
> > OK".
> > I'd rather have a status that is not "OK" and not scan the returned
> > $content for "Software error".
>
> > Has someone been able to do this?
>
> > Bernd
>
> Would
>
>     use CGI::Carp qw(fatalsToBrowser set_message);
>
> meet your need?


Meant to add, see perldoc CGI::Carp ---Changing the default message


Owen


------------------------------

Date: Tue, 5 Feb 2008 16:27:38 -0800 (PST)
From: shul <meshulum@gmail.com>
Subject: CPerl mode problem: syntax highlighting stumbles over  my $old_z=3;  my $old_y=4;
Message-Id: <45f2e581-b4e8-4d50-b9f1-0dd72d84088b@p69g2000hsa.googlegroups.com>

Hi I am using
emacs GNU Emacs 21.4.1, with CPerl mode enabled.
on debian sid.

I am writing a gtk2-pel program and I noticed that CPerl goes crazy
with the syntax highling
going off, and also the indenting C-M--\ not working for a few lines
if I use variables like

my my $old_z=3;
my $old_y =  4;

 ...
some more lines of code
 ...

the second line shows the 4 in a funny color
an dthen the next couple of lines get a "greyed out look",
and when I try to indent it leaves the next lines pushed to the left
margin.

All goes back to normal if I do

my $oldx = 3;
my $oldy = 4;
instead.

Why is this. Same with $main::old_x and $main::old_y.

Thanks,
MItchell Laks


------------------------------

Date: Tue, 5 Feb 2008 11:24:19 -0800 (PST)
From: mike <mikaelpetterson@hotmail.com>
Subject: Handling user input and program busy
Message-Id: <cb6c68cf-7cc3-41bb-a768-dd9d9525c04d@m34g2000hsf.googlegroups.com>

Hi,

I am used to shell script ( bourne) and wonder how you can do the
following in perl:

(I stick to the command line input no fancy gui).

* if user has a Y/N question and Y is default and the user only
presses "Enter". How can I set a default answer to be used.

* Also I have been wondering how I can show " dots" on the command
line when an activity is ongoing ( to let the user know something is
going on. Any functions that is easy to implement?

cheers,

//mike


------------------------------

Date: Tue, 05 Feb 2008 19:33:43 GMT
From: Jürgen Exner <jurgenex@hotmail.com>
Subject: Re: Handling user input and program busy
Message-Id: <4cehq3lshghqa7ifq3ouj9jlf0f1lnca0p@4ax.com>

mike <mikaelpetterson@hotmail.com> wrote:
>(I stick to the command line input no fancy gui).
>
>* if user has a Y/N question and Y is default and the user only
>presses "Enter".

Then the read line will be the empty line.

> How can I set a default answer to be used.

Just check against empty line or Y.

>* Also I have been wondering how I can show " dots" on the command
>line when an activity is ongoing ( to let the user know something is
>going on. Any functions that is easy to implement?

Just print them. However you may have to turn off output buffering.

jue


------------------------------

Date: Tue, 05 Feb 2008 12:29:51 -0800
From: Jim Gibson <jimsgibson@gmail.com>
Subject: Re: Handling user input and program busy
Message-Id: <050220081229513670%jimsgibson@gmail.com>

In article
<cb6c68cf-7cc3-41bb-a768-dd9d9525c04d@m34g2000hsf.googlegroups.com>,
mike <mikaelpetterson@hotmail.com> wrote:

> Hi,
> 
> I am used to shell script ( bourne) and wonder how you can do the
> following in perl:
> 
> (I stick to the command line input no fancy gui).

Here is one way (untested):

query:
print "Prompt [Y]: ";
my $ans = <STDIN>;
chomp($ans);
$ans = 'Y' unless $ans;
if( $ans =~ /^ty/i ) {
  ...
}elsif( $ans =~ /^fn/i ) {
  ...
}else{
  print "\"$ans\" is not a valid answer\n";
  goto query;
}

> 
> * if user has a Y/N question and Y is default and the user only
> presses "Enter". How can I set a default answer to be used.
> 
> * Also I have been wondering how I can show " dots" on the command
> line when an activity is ongoing ( to let the user know something is
> going on. Any functions that is easy to implement?

  $|++;
  for( $i=0; $i<30; $i++ ){
    print ".";
    sleep(1)
  }
  print "\n";

-- 
Jim Gibson

 Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
    ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------        
                http://www.usenet.com


------------------------------

Date: Tue, 5 Feb 2008 14:20:12 -0800 (PST)
From: smallpond <smallpond@juno.com>
Subject: Re: Handling user input and program busy
Message-Id: <af3f5dae-2d02-467d-8e7a-e22a9c557690@j78g2000hsd.googlegroups.com>

On Feb 5, 2:24 pm, mike <mikaelpetter...@hotmail.com> wrote:

> * Also I have been wondering how I can show " dots" on the command
> line when an activity is ongoing ( to let the user know something is
> going on. Any functions that is easy to implement?
>
> cheers,
>
> //mike


Here's one method of showing dots while other stuff is running:

#!/usr/bin/perl
use warnings;

use threads;
use threads::shared;
my ($done, $thr);
share $done;

# Show dots at 1-second intervals while sub executes
sub pdots {
    while (! $done) {
	sleep 1;
	print ".";
    };
}

# start printing
sub showdots {
    $|=1;
    $done = 0;
    $thr = threads->create( \&pdots );
}

# stop printing
sub stopdots {
    $done = 1;
    $thr->join;
}

showdots( );

print "Starting 5 second task ";
# do your long-running task here
sleep 5;

stopdots();

print " Done\n";


------------------------------

Date: Tue, 05 Feb 2008 22:32:49 GMT
From: Jürgen Exner <jurgenex@hotmail.com>
Subject: Re: Handling user input and program busy
Message-Id: <soohq3dlt5sihccsdo1o278ah8upnh9ju8@4ax.com>

smallpond <smallpond@juno.com> wrote:
>Here's one method of showing dots while other stuff is running:
>
>#!/usr/bin/perl
>use warnings;
>
>use threads;
>use threads::shared;
[...]
>showdots( );
>print "Starting 5 second task ";
># do your long-running task here
>sleep 5;
>stopdots();

From a user experience this is a very poor design.
It will keep printing those dots even if the main task got stuck a long time
ago, tricking the user into believing that there is still something useful
going on.
It is much better to give an actual progress indicator, e.g. if you have to
process 10 million entries, then print one dot for every 10000 actually
processed.

jue



------------------------------

Date: 05 Feb 2008 23:57:11 GMT
From: xhoster@gmail.com
Subject: Re: Handling user input and program busy
Message-Id: <20080205185714.684$2Q@newsreader.com>

smallpond <smallpond@juno.com> wrote:
> On Feb 5, 2:24 pm, mike <mikaelpetter...@hotmail.com> wrote:
>
> > * Also I have been wondering how I can show " dots" on the command
> > line when an activity is ongoing ( to let the user know something is
> > going on. Any functions that is easy to implement?
> >
> > cheers,
> >
> > //mike
>
> Here's one method of showing dots while other stuff is running:
>
> #!/usr/bin/perl
> use warnings;
>
> use threads;
> use threads::shared;
> my ($done, $thr);
> share $done;
>
> # Show dots at 1-second intervals while sub executes
> sub pdots {
>     while (! $done) {
>         sleep 1;
>         print ".";
>     };
> }

Ugh.  That just tells me that time has not ceased to exist as far as the
computer is concerned.  That is not a problem I've ever run into.  I
want a progress meter to tell me that progress is actually occurring on
the relevant task, not that the arrow of time is still in place and
functioning.

Xho

-- 
-------------------- http://NewsReader.Com/ --------------------
The costs of publication of this article were defrayed in part by the
payment of page charges. This article must therefore be hereby marked
advertisement in accordance with 18 U.S.C. Section 1734 solely to indicate
this fact.


------------------------------

Date: Tue, 5 Feb 2008 20:15:23 -0800 (PST)
From: SC <Shiao.li.chang@gmail.com>
Subject: How to move perl from one PC to another PC (windows XP)
Message-Id: <421ca1f6-a5b6-4b8f-ac39-14a146b8dd3c@i29g2000prf.googlegroups.com>

We have a PC/Windows XP running some Perl scripts for daily routine.
I'd like to copy them to another PC/ windows xp, for running same perl
scripts. What should I do to the new PC set a path or ??


------------------------------

Date: Tue, 5 Feb 2008 20:41:28 -0800 (PST)
From: Ron Bergin <rkb@i.frys.com>
Subject: Re: How to move perl from one PC to another PC (windows XP)
Message-Id: <a548b189-26ca-488e-ac2c-c482a2b2301c@s12g2000prg.googlegroups.com>

On Feb 5, 8:15 pm, SC <Shiao.li.ch...@gmail.com> wrote:
> We have a PC/Windows XP running some Perl scripts for daily routine.
> I'd like to copy them to another PC/ windows xp, for running same perl
> scripts. What should I do to the new PC set a path or ??

Install Perl on the other PC.  If you install Activestate Perl and
accept the defaults during the install, it will create the file
associations and set the path environment.
http://activestate.com/store/productdetail.aspx?prdGuid=81fbce82-6bd5-49bc-a915-08d58c2648ca


------------------------------

Date: Tue, 5 Feb 2008 22:24:43 -0800 (PST)
From: vikram <vikramganiga@gmail.com>
Subject: lcd via NET::FTP
Message-Id: <fd9417a3-1c76-4ca9-b8d2-0ae59eb97125@q21g2000hsa.googlegroups.com>

Hi Everyone,

I want to view the local current directory using perl Net::FTP
module..When i use lcd("local folder") its showing me the error.

Can't locate object method "lcd" via package "Net::FTP"


Thanks in advance.


------------------------------

Date: Wed, 06 Feb 2008 08:08:22 +0100
From: Joost Diepenmaat <joost@zeekat.nl>
Subject: Re: lcd via NET::FTP
Message-Id: <87sl06r28p.fsf@zeekat.nl>

vikram <vikramganiga@gmail.com> writes:

> Hi Everyone,
>
> I want to view the local current directory using perl Net::FTP
> module..When i use lcd("local folder") its showing me the error.
>
> Can't locate object method "lcd" via package "Net::FTP"

Since lcd changes the local current directory, you should just use the
chdir built-in function, I think.

Joost.


------------------------------

Date: Wed, 6 Feb 2008 05:42:22 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Wed Feb  6 2008
Message-Id: <JvsyIM.1qKK@zorch.sf-bay.org>

The following modules have recently been added to or updated in the
Comprehensive Perl Archive Network (CPAN).  You can install them using the
instructions in the 'perlmodinstall' page included with your Perl
distribution.

B-Generate-1.12_03
http://search.cpan.org/~jjore/B-Generate-1.12_03/
Create your own op trees. 
----
CGI-Application-PhotoGallery-0.09
http://search.cpan.org/~bricas/CGI-Application-PhotoGallery-0.09/
module to provide a simple photo gallery 
----
CGI-Application-Plugin-BrowserDetect-1.00
http://search.cpan.org/~bcbailey/CGI-Application-Plugin-BrowserDetect-1.00/
Browser detection plugin for CGI::Application 
----
Catalyst-Authentication-Store-LDAP-0.1000
http://search.cpan.org/~karman/Catalyst-Authentication-Store-LDAP-0.1000/
Authentication from an LDAP Directory. 
----
Catalyst-Plugin-Authentication-Store-LDAP-0.0601
http://search.cpan.org/~karman/Catalyst-Plugin-Authentication-Store-LDAP-0.0601/
Authentication from an LDAP Directory **DEPRECATED** 
----
Catalyst-Plugin-Geocoding-0.01
http://search.cpan.org/~xern/Catalyst-Plugin-Geocoding-0.01/
Geocoding plugin 
----
Crypt-SMimeEngine-0.01
http://search.cpan.org/~flazan/Crypt-SMimeEngine-0.01/
Interface to OpenSSL for SMIME commands with hardware engines support. 
----
DBIx-Class-Fixtures-0.999_01
http://search.cpan.org/~mstrout/DBIx-Class-Fixtures-0.999_01/
----
DBIx-Class-HTMLWidget-0.12
http://search.cpan.org/~andremar/DBIx-Class-HTMLWidget-0.12/
----
DBIx-Class-HTMLWidget-0.13
http://search.cpan.org/~andremar/DBIx-Class-HTMLWidget-0.13/
Like FromForm but with DBIx::Class and HTML::Widget 
----
DBIx-Class-HTMLWidget-0.14
http://search.cpan.org/~andremar/DBIx-Class-HTMLWidget-0.14/
Like FromForm but with DBIx::Class and HTML::Widget 
----
DBIx-Class-HTMLWidget-0.15
http://search.cpan.org/~andremar/DBIx-Class-HTMLWidget-0.15/
Like FromForm but with DBIx::Class and HTML::Widget 
----
DBIx-Class-Schema-Loader-0.04999_01
http://search.cpan.org/~ilmari/DBIx-Class-Schema-Loader-0.04999_01/
Dynamic definition of a DBIx::Class::Schema 
----
DJabberd-Delivery-OfflineStorage-0.04
http://search.cpan.org/~piers/DJabberd-Delivery-OfflineStorage-0.04/
Basic OfflineStorage (old style) for DJabberd 
----
Fey-Core-0.02
http://search.cpan.org/~drolsky/Fey-Core-0.02/
----
Fey-DBIManager-0.01
http://search.cpan.org/~drolsky/Fey-DBIManager-0.01/
Manage a set of data sources 
----
Fey-Loader-0.04
http://search.cpan.org/~drolsky/Fey-Loader-0.04/
Load your schema defintion from a DBMS 
----
Fey-Test-0.01
http://search.cpan.org/~drolsky/Fey-Test-0.01/
Test libraries for Fey distros 
----
Flickr-API-0.09
http://search.cpan.org/~iamcal/Flickr-API-0.09/
Perl interface to the Flickr API 
----
Gedcom-FOAF-0.04
http://search.cpan.org/~bricas/Gedcom-FOAF-0.04/
Output FOAF files from Gedcom individuals and families 
----
HTML-FillInForm-Lite-0.01
http://search.cpan.org/~gfuji/HTML-FillInForm-Lite-0.01/
Fills in HTML forms with data 
----
HTML-Table-2.07b
http://search.cpan.org/~ajpeacock/HTML-Table-2.07b/
produces HTML tables 
----
HTML-WikiConverter-DokuWikiFCK-0.12
http://search.cpan.org/~turnermm/HTML-WikiConverter-DokuWikiFCK-0.12/
A WikiConverter Dialect supporting the FCKeditor in DokuWiki 
----
HTML-WikiConverter-Wikispaces-0.01
http://search.cpan.org/~mjbudden/HTML-WikiConverter-Wikispaces-0.01/
Convert HTML to Wikispaces markup 
----
IO-Socket-INET6-2.52
http://search.cpan.org/~shlomif/IO-Socket-INET6-2.52/
Object interface for AF_INET|AF_INET6 domain sockets 
----
Image-ExifTool-7.15
http://search.cpan.org/~exiftool/Image-ExifTool-7.15/
Read and write meta information 
----
JSON-2.05
http://search.cpan.org/~makamaka/JSON-2.05/
JSON (JavaScript Object Notation) encoder/decoder 
----
Mac-Pasteboard-0.000_02
http://search.cpan.org/~wyant/Mac-Pasteboard-0.000_02/
Manipulate Mac OS X clipboards/pasteboards. 
----
MojoMojo-0.999012
http://search.cpan.org/~mramberg/MojoMojo-0.999012/
A Catalyst & DBIx::Class powered Wiki. 
----
PAR-Dist-0.28
http://search.cpan.org/~smueller/PAR-Dist-0.28/
Create and manipulate PAR distributions 
----
POE-Component-IRC-Plugin-Thanks-0.01
http://search.cpan.org/~zoffix/POE-Component-IRC-Plugin-Thanks-0.01/
make witty responses to "thank you"s 
----
POE-Component-MessageQueue-0.1.8
http://search.cpan.org/~dsnopek/POE-Component-MessageQueue-0.1.8/
A POE message queue that uses STOMP for the communication protocol 
----
Parse-RecDescent-FAQ-6.0.c
http://search.cpan.org/~tbone/Parse-RecDescent-FAQ-6.0.c/
the official, authorized FAQ for Parse::RecDescent. 
----
Task-BeLike-RJBS-1.000
http://search.cpan.org/~rjbs/Task-BeLike-RJBS-1.000/
be more like RJBS -- use the modules he likes! 
----
Test-Unit-Lite-0.09
http://search.cpan.org/~dexter/Test-Unit-Lite-0.09/
Unit testing without external dependencies 
----
Test-Unit-Lite-0.0901
http://search.cpan.org/~dexter/Test-Unit-Lite-0.0901/
Unit testing without external dependencies 
----
WordPress-XMLRPC-1.06
http://search.cpan.org/~leocharre/WordPress-XMLRPC-1.06/
----
go-perl-0.08
http://search.cpan.org/~cmungall/go-perl-0.08/


If you're an author of one of these modules, please submit a detailed
announcement to comp.lang.perl.announce, and we'll pass it along.

This message was generated by a Perl program described in my Linux
Magazine column, which can be found on-line (along with more than
200 other freely available past column articles) at
  http://www.stonehenge.com/merlyn/LinuxMag/col82.html

print "Just another Perl hacker," # the original

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


------------------------------

Date: Tue, 05 Feb 2008 21:37:32 +0100
From: Joost Diepenmaat <joost@zeekat.nl>
Subject: Re: Newbie: Non-interactive status displays - HOWTO?
Message-Id: <87fxw76sxf.fsf@zeekat.nl>

Chris <chimpdad99_NoSpam@yahoo.com> writes:

> I'm a perl Tk newbie trying to create a pgm to display the status of
> several servers by a green/red indicator light. After going over some
> howto's & examples, I'm still stumped.
>
> All of the examples I can find are geared towards dealing with some
> user interaction (clicking buttons, typing text, etc.), but I'm
> looking for a non-interactive update of status lights, say when a
> server goes down, stops listening on a port, etc.
>
> Basically I'd like to know how to update a widget color based on
> results from a monitoring subroutine - ie how to pass info back into
> the Tk window. I tried setting a text widget to a global variable that
> gets manipulated in a routine forked prior to MainLoop, but no luck.

Tk is event based. That means that you're just executing code whenever
some event happens. The event can be a user action but it can also be
activity on a socket or a timeout or whatever.

You may want to look at the Tk::after manpage.

Joost.




------------------------------

Date: Tue, 05 Feb 2008 14:42:56 -0600
From: Chris <chimpdad99_NoSpam@yahoo.com>
Subject: Re: Newbie: Non-interactive status displays - HOWTO?
Message-Id: <et6dnQmYl8jNVzXanZ2dnUVZ_gWdnZ2d@comcast.com>

Joost Diepenmaat wrote:
> Chris <chimpdad99_NoSpam@yahoo.com> writes:
> 
> 
>>I'm a perl Tk newbie trying to create a pgm to display the status of
>>several servers by a green/red indicator light. After going over some
>>howto's & examples, I'm still stumped.
>>
>>All of the examples I can find are geared towards dealing with some
>>user interaction (clicking buttons, typing text, etc.), but I'm
>>looking for a non-interactive update of status lights, say when a
>>server goes down, stops listening on a port, etc.
>>
>>Basically I'd like to know how to update a widget color based on
>>results from a monitoring subroutine - ie how to pass info back into
>>the Tk window. I tried setting a text widget to a global variable that
>>gets manipulated in a routine forked prior to MainLoop, but no luck.
> 
> 
> Tk is event based. That means that you're just executing code whenever
> some event happens. The event can be a user action but it can also be
> activity on a socket or a timeout or whatever.
> 
> You may want to look at the Tk::after manpage.
> 
> Joost.
> 
> 
Thx...I'll check that out


------------------------------

Date: Wed, 06 Feb 2008 00:07:06 GMT
From: Pat <none@none.none>
Subject: Tie::IxHash::Easy with "eval()"
Message-Id: <Xns9A3BAE269AC57none@140.99.99.130>

Hi,

I'd like to use "Tie::IxHash" to maintain the order of keys in a hash.  
Since the hash can contain other hashes (and so on), I need to use 
"Tie::IxHash::Easy" so that the nested hashes also maintain their ordering.

I'm reading the entire hash from a file.  The format of the file is exactly 
like Data::Dumper so that I can build the hash by simply saying:

   eval($file_contents);

This fails because there's no way to "tie" the internal workings of eval to 
"Tie::IxHash::Easy" so it always just returns a normal hash.  Copying the 
returned into an IxHash has no effect because the ordering is already lost.

So, how can I load an IxHash from a file in Data::Dumper format and 
preserve its order (including nested hashes)?

Thanks.   


------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V11 Issue 1258
***************************************


home help back first fref pref prev next nref lref last post