using ExtUtils: : Packlist to uninstall Padre 0.26

I tried to upgrade my Padre (the Perl IDE) on MS-Windows and broke it – so now I want to remove Padre.

There is a Perl module named: “ExtUtils : : Packlist” – used for manage .packlist files.

There is an example – used remove ALL installed modules.

I mada a slight change – to remove only a specified module – for example Padre.

(Don’t worry – I’m going to re-install it later).

Here is the code:

————————————————————

#!/usr/local/bin/perl -w

 use strict;
 use IO:: Dir;
 use ExtUtils:: Packlist;
 use ExtUtils:: Installed;

 sub emptydir($) {
  my ($dir) = @_;
  my $dh = IO:: Dir->new($dir) || return(0);
  my @count = $dh->read();
  $dh->close();
  return(@count == 2 ? 1 : 0);
 }

 # Find all the installed packages
 print("Finding all installed modules...n");
 my $installed = ExtUtils::Installed->new();

 foreach my $module (grep(/^Padre/, $installed->modules())) {
 my $version = $installed->version($module) || "???";
 print("Found module $module Version $versionn");
 print("Do you want to delete $module? [n] ");
 my $r = <STDIN>; chomp($r);
 if ($r && $r =~ /^y/i) {
 # Remove all the files
 foreach my $file (sort($installed->files($module))) {
  print("rm $filen");
  unlink($file);
 }
 my $pf = $installed->packlist($module)->packlist_file();
 print("rm $pfn");
 unlink($pf);
 foreach my $dir (sort($installed->directory_tree($module))) {
   if (emptydir($dir)) {
    print("rmdir $dirn");
    rmdir($dir);
    }
   }
  }
 }

————————————————————

Padre 0.20 on Mandriva 2009.0

Just after my recent post (“My (shameless) expectations from Padre for the future“) – I’ve succeeded to get Padre 0.20 on my home PC using Mandriva 2009.0.

I posted my question at the Israel.pm mailing list [Israel.pm] Class::XSAccessor 0.13 module from CPAN on Mandriva – “make test” failure – and I got answer from Gabor Szabo and from Shlomi Fish that were helpful.

So here is a screen shot of Padre 0.20 on Mandriva 2009.0.

I am just reading a message at the Padre-dev mailing list about Padre 0.21 – but I’ll try it later.

padre_020_01_and_2

Gravatar – תמונה אחת לזיהוי בכל בלוג ופורום?

Gravatar – Globally Recognized avatar.
כלומר:
מקום אחד – לזיהוי תמונתי שלך בין בלוג אחד למשנהו ובין פורופ לפורום.
חוץ משמי – תופיע תמונה שאותה אני מגדיר פעם אחת בלבד – ב- Gravatar .

החסרון היחיד הוא שאתרים צריכים להיות מתממשקים ל- Gravatar , כלומר “gravatar enabled”.

הגעתי לזה מתוך שנרשמתי ל- Ohloh , אתר שמרכז מידע על open source projects.
לשם הגעתי בעקבות הפניה מהבלוג של גבור סבו (Gábor SzabóBlog)

Blogged with the Flock Browser

הפורום לשימור הזכרון האודיו-ויזואלי בישראל

אתר מעניין וחשוב שכדאי להכיר: הפורום לשימור הזכרון האודיו-ויזואלי בישראל

את הפוסט לקחתי הישר מתוך: בלוג ספריית אוניברסיטת חיפה – מידע במידה

הפורום לשימור הזיכרון האודיו-ויזואלי בישראל - אודות הפורום
הפורום לשימור הזיכרון האודיו-ויזואלי בישראל - אודות הפורום
תיאור, מתוך הפורום לשימור הזכרון האודיו-ויזואלי בישראל:
בדצמבר 2005 התאגדה חבורה של יוצרים ואנשי מקצוע וייסדה את הפורום לשימור הזיכרון האודיו-ויזואלי בישראל.
התגייסות זו נועדה להציל את החומרים הארכיוניים האודיו-ויזואליים מסכנת כליה ומחיקה, מתוך הבנה כי ההיסטוריה לעולם אינה חוזרת, והזיכרון הקולקטיבי והפרטי שלנו – המוטבע בפילם, בווידאו, בתצלומים ובהקלטות קול – הולך ומתכלה כל עוד קיימת בארץ תפיסה מיושנת ואנלוגית של שימור. ..הפורום מקיים דיאלוג מתמשך עם הארכיונים הרלוונטיים בישראל ופועל בשיתוף פעולה הדוק עם גורמים שונים כגון הארכיון הישראלי לסרטים – סינמטק ירושלים, איגוד מפיקי קולנוע וטלוויזיה בישראל, יד ושם ויד בן צבי. פעולותיו נתמכות על-ידי מינהל התרבות במשרד התרבות המדע והספורט, מועצת התרבות והאמנות של מפעל הפיס ותורמים פרטיים. כל חברי הפורום פעילים בו בהתנדבות.

תביעה כנגד יוצרי תוכנת Zotero

סערה גדולה באקדמיה בארה”ב כנגד החלטת Thomson Reuters Inc לתבוע את George Mason University שפתחה את תוכנת ניהול הציטוטים Zotero ( קוד פתוח ).

Zotero [zoh-TAIR-oh] - a free, easy-to-use Firefox extension to help you collect, manage, and cite your research sources.
Zotero (zoh-TAIR-oh) - a free, easy-to-use Firefox extension to help you collect, manage, and cite your research sources.
פרטים – הפוסט המלא מתוך בלוג ספריית אוניברסיטת חיפה – “מידע במידה”.

לעיונכם הידיעה המלאה (דרך: The Chronicle of Higher Education )

Blogged with the Flock Browser

Google launches internet browser

זה בטח הולך להיות נדון לעייפה בהמון מקומות.

בכל זאת הייתי חייב לכתוב את זה גם פה.

להלן כמה קישורים:

Eric Jennings: Google’s new venture: web browser

BBC News: Google launches internet browser

Google: Google Chrome – Download a new browser

לינמגזין: סקירה: Google Chrome (וידאו). מתוך הבלוג של usharf .

הארץ, קפטן אינטרנט: חוקר ישראלי מצא פירצה בכרום

והנה תמונות:

לוגו:

Google Chrome Logo
Google Chrome Logo

תצוגה:

ללל
Google Chrome

Blog Day 2008

The Blog Day 2008 was yesterday.
So here I write about few of my favorite Blogs:

אתמול היה “יום הבלוג”, ה- Blog Day 2008.
להלן כמה בלוגים לשם פירגון:
  • ועוד אחד באנגלית, של דרו ליוויין (Dru Lavigne), גורואית של BSD:
    A Year in the Life of a BSD Guru
    The Blog of Dru Lavigne, a real BSD “Guru”.

Sun Wiki Publisher – Also OpenOffice.org has extensions

On my other Blog (Here) I wrote about some very useful Firefox extensions I use.

I have just revealed now that also OpenOffice.org has extensions:

The one I have just seen is: The Sun Wiki Publisher.

This OpenOffice.org (2.4 or higher) extension enables you to create Wiki articles on MediaWiki servers without having to know the syntax of the MediaWiki markup language.

Nice … I’m going to try it, and to export from my OOo at work to the internal Wiki.

Open Access – גישה חופשית למידע ופרסום אלקטרוני [presentation from Haifa Univ. Library]

I have just read on the blog of the Haifa university Library about ” Open Access – גישה חופשית למידע ופרסום אלקטרוני.”
The presentation was a part of meetings held at the library about information in the library and on the World Wide Web.

The open publication possibilities were introduced, as well as economic models.

Among other issues – the presentation cites a decision of Harvard university faculty to collect and disseminate scholarly articles. Some of the new Israeli projects are discussed and also copyrights matters and the solutions offered by “Creative Commons“.

לפוסט – בלוג ספריית אוניברסיטת חיפה – To the POST.

למצגת בעברית – “Open Access” : Presentation. (ב- PDF)

BTW
There is “Hebrew Creative Commons” – קריאייטיב קומונז בעברית. Cool!