Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bless(1) [debian man page]

BLESS(1)							   User Commands							  BLESS(1)

NAME
bless - graphical hexadecimal Gtk# editor SYNOPSIS
bless [FILE]... DESCRIPTION
Edit the FILEs as a sequence of bytes, allowing read/write, search, pattern finding, efficient query-replace, multi-tabbing, customized data-views, plugins, and many other features. REPORTING BUGS
Report bugs to Alexandros Frantzis <alf82@freemail.gr>. AUTHOR
Copyright (C) 2004-2007, Alexandros Frantzis. bless June 2007 BLESS(1)

Check Out this Related Man Page

Damn(3pm)						User Contributed Perl Documentation						 Damn(3pm)

NAME
Acme::Damn - 'Unbless' Perl objects. SYNOPSIS
use Acme::Damn; my $ref = ... some reference ... my $obj = bless $ref , 'Some::Class'; ... do something with your object ... $ref = damn $obj; # recover the original reference (unblessed) ... neither $ref nor $obj are Some::Class objects ... DESCRIPTION
Acme::Damn provides a single routine, damn(), which takes a blessed reference (a Perl object), and unblesses it, to return the original reference. EXPORT By default, Acme::Damn exports the method damn() into the current namespace. Aliases for damn() (see below) may be imported upon request. Methods damn object damn() accepts a single blessed reference as its argument, and returns that reference unblessed. If object is not a blessed reference, then damn() will "die" with an error. bless reference bless reference [ , package ] bless reference [ , undef ] Optionally, Acme::Damn will modify the behaviour of "bless" to allow the passing of an explicit "undef" as the target package to invoke damn(): use Acme::Damn qw( bless ); my $obj = ... some blessed reference ...; # the following statements are equivalent my $ref = bless $obj , undef; my $ref = damn $obj; NOTE: The modification of "bless" is lexically scoped to the current package, and is not global. Method Aliases Not everyone likes to damn the same way or in the same language, so Acme::Damn offers the ability to specify any alias on import, provided that alias is a valid Perl subroutine name (i.e. all characters match "w"). use Acme::Damn qw( unbless ); use Acme::Damn qw( foo ); use Acme::Damn qw( unblessthyself ); use Acme::Damn qw( recant ); Version 0.02 supported a defined list of aliases, and this has been replaced in v0.03 by the ability to import any alias for "damn()". WARNING
Just as "bless" doesn't call an object's initialisation code, "damn" doesn't invoke an object's "DESTROY" method. For objects that need to be "DESTROY"ed, either don't "damn" them, or call "DESTROY" before judgement is passed. ACKNOWLEDGEMENTS
Thanks to Claes Jacobsson <claes@surfar.nu> for suggesting the use of aliases, and Bo Lindbergh <blgl@cpan.org> for the suggested modification of "bless". SEE ALSO
bless, perlboot, perltoot, perltooc, perlbot, perlobj. AUTHOR
Ian Brayshaw, <ian@onemore.org> COPYRIGHT AND LICENSE
Copyright 2003-2012 Ian Brayshaw This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-02-14 Damn(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

perl bless function

hi i am not getting what exactly bless function do in perl explanation in perldoc is not very clear i tried to search on google but i am getting confused or rather not getting at all. can anybody explain in short what it does in following example as well as in general ? sub new { my... (1 Reply)
Discussion started by: zedex
1 Replies

2. Shell Programming and Scripting

method bless perl

Hi, I am using perl with some EDA tool. There is an API function that can be iterate. I try to check the ref and get that it is a string. I assume that it is a hash sub aaa { my $obj = shift; $name = $obj->name; print ref $obj,"\n"; foreach my $var(keys %{$obj}) { my... (0 Replies)
Discussion started by: zivsegal
0 Replies

3. Shell Programming and Scripting

ksh script to execute 2 variabless in universe enviroment

Hello, Im trying to write a ksh script that will enter the universe environment as user kourier (switching to this specific user automatically launches to the TCL prompt). At the TCL " > " prompt i want to execute two variables. However, it wont recognize the second variable (user input Answer) due... (6 Replies)
Discussion started by: seekryts15
6 Replies