Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

storableedit file editor - anyone?

Status
Not open for further replies.

jpasquini

Programmer
Apr 20, 2006
44
US
Hi All,

I have an application that displays Perl TK data files, and now the requirement has come down that we must use the 'storableedit' procedure to store the data. (storableedit 1.5).

From what I understand this is kind of like a 'mini relational database', which saves files in a Perl Storable File format. If you use the storableedit editor, you can see the file record by record, something like using the 'ed' utility in UNIX, or maybe something like looking at an elephant through a toilet paper roll.

My question is, does anyone out there know of a utility to view or edit an entire Perl Storable file, kind of like VI does in UNIX? It is slow work dealing with a data file line by line.
I checked the web and have found nothing out there yet....

jpasquini
 
A file's a file, why this way 'storableedit' os my first question? What are the benefits to the user/company/organisation?

are there docs on storableedit that might shed moere light on this?

Regards
--Paul

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Paul,

I think there are a few people up the line that are very smart and bored. I really can't see what storableedit adds except complexity (converts text to a compliled storage format, then uncompiles it to display). You can no longer edit the data on the fly. It does allow you to pull information out in a relational way. I liken it to using Adobe Acrobat Reader instead of (aw shucks, just type it already) WordPad.

It appears now though there are licencing problems with different versions of the utility and we can't use it.
When all else fails, there is always the innovation-squelching effects of beurocracy.............if anyone knows other benefits feel free to add them in this thread.
 
From what I can make out storableedit.pl is merely a simple interface to the Storable.pm module, my guess is that someone upstairs has lost the run ;-)

I'd seek clarification that they're looking for storableedit and not just to interface to the storable module.

It makes less sense to develop a GUI to edit a file line by line, than it does to leave bananas at the top of the empire state building, and check back every 20 mins to see if they're gone ... sure you can do it, but why would you? ;-)


Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
As an addition storableedit.pl is on CPAN, you guys are looking to commercialise a product, yes?

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
I pronounce it "storaBLEED-it", because every time I use it, I feel slightly woozy as if I've lost blood.
'nuff said
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top