Searched refs:can (Results 1 - 25 of 302) sorted by relevance

1234567891011>>

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/Perldoc/
H A DGetOptsOO.pm36 ) if $target->can('aside');
54 if( $target->can($method) ) { # it's argumental
69 if( $target->can( $method = "opt_$first" ) ) {
75 } elsif( $target->can('handle_unknown_option') ) {
100 ) if $target->can('aside');
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Duniversal.t77 test $a->can("eat");
78 test ! $a->can("sleep");
79 test my $ref = $a->can("drink"); # returns a coderef
81 test $ref = $a->can("sing");
114 test ! UNIVERSAL::can(23, "can");
116 test $a->can("VERSION");
118 test $a->can("can");
119 test ! $a->can("export_tag
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/DynaLoader/t/
H A DXSLoader.t18 ok( ref XSLoader->can('load') );
25 ::ok( ref SDBM_File->can('TIEHASH') );
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Safe/t/
H A Dsafeuniversal.t35 sub UNIVERSAL::can { "pwned" }
36 (bless[],"Foo")->can("foo");
39 is( $r, "pwned", "can overriden in compartment" );
40 is( (bless[],"Foo")->can("foo"), \&Foo::foo, "... but not outside" );
45 is( $@, '', 'can call utf8::is_valid' );
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DUNIVERSAL.pm7 # accident that can't be fixed without breaking code. Note that we
13 @EXPORT_OK = qw(isa can VERSION);
27 $sub = $obj->can("print");
28 $sub = Class->can("print");
30 use UNIVERSAL qw( isa can VERSION );
32 $sub = can $ref, "fandango" ;
96 =item C<< $obj->can( METHOD ) >>
98 =item C<< CLASS->can( METHOD ) >>
100 =item C<can( VAL, METHOD )>
102 C<can> check
[all...]
H A DAnyDBM_File.pm35 can still do so, but new ones can reorder @ISA:
85 By default, but can be redefined.
H A Dvars.pm73 loading of subroutines within packages can create problems with
76 outside of the package), it can act as an acceptable substitute by
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IPC/SysV/
H A DSysV.pm4 # This program is free software; you can redistribute it and/or
54 *dl_load_flags = DynaLoader->can('dl_load_flags');
57 __PACKAGE__->can('bootstrap') || \&DynaLoader::bootstrap
83 Return a key based on PATH and ID, which can be used as a key for
100 This program is free software; you can redistribute it and/or modify it
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Hash/
H A DUtil.pm48 keys. No keys outside of this set can be added. It also introduces
64 given it restricts it to its current keyset. No more keys can be
68 to do so will raise an exception. Of course you can still bless()
147 No value can be changed, no keys can be added or deleted.
152 are made read/write. All values can be changed and keys can be added
191 can craft a denial-of-service attack against Perl code, even remotely,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/t/
H A DSelect.t60 a sub-section can be specified
110 a sub-section can be specified
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Simple/t/
H A Dskip.t18 unless Pigs->can('fly');
H A DMore.t47 # can_ok() & isa_ok should call can() & isa() on the given object, not
48 # just class, in case of custom can()
50 local *Foo::can;
52 *Foo::can = sub { $_[0]->[0] };
55 ok( ! $foo->can('bar') );
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Task/
H A DTask.xs26 # Define any constants that need to be exported. By doing it this way we can
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/t/
H A Derrors.t35 print $@ =~ /can only store scalars/
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Devel/
H A DSelfStubber.pm103 before the __DATA__ token (or you can get it to print the entire
133 The SelfLoader can load stubs automatically at module initialization
138 is being autoloaded). In this case, you can put the sub stubs
139 before the __DATA__ token. This can be done manually, but this
142 By default it just prints the stubs, but you can set the
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/IPC/
H A DOpen2.pm50 in the parameter slot so it can be overwritten in the caller, or
62 Failing to do this can result in an accumulation of defunct or "zombie"
73 over source code being run in the child process, you can't control
74 what it does with pipe buffering. Thus you can't just open a pipe to
77 The IO::Pty and Expect modules from CPAN can help with this, as they
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Opcode/
H A DOpcode.pm107 By default no opmask is in effect and any code can be compiled.
138 recognisable descriptive name. The opdesc function can be used to
142 operators as parameters. Most operator lists can be made up of several
143 types of element. Each element can be one of
155 Operator tags can be used to refer to groups (or sets) of operators.
157 optags and the user can define others using the define_optag function.
161 An opname or optag can be prefixed with an exclamation mark, e.g., !mkdir.
170 The opset and opset_to_ops functions can be used to convert from
173 Wherever a list of operators can be given you can us
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/
H A DMakefile.PL9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
58 (You can find the documentation at the end of Storable.pm in POD format)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Digest/MD5/
H A DMD5.pm82 use, as well as an object oriented interface that can handle messages
83 of arbitrary length and which can read files directly.
126 single object can be used to calculate multiple digests.
203 object is automatically C<reset> and can be used to calculate another
240 The same checksum can also be calculated in OO style:
251 With OO style you can break the message arbitrary. This means that we
253 we can handle messages of any size.
270 Or we can use the addfile method for more efficient reading of
282 algorithm is only defined for strings of bytes, it can not be used on
293 What you can d
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/disk/ieee1275/
H A Dofdisk.c6 * GRUB is free software: you can redistribute it and/or modify
137 char *can = grub_strdup (alias->path); local
138 if (!name || !can)
142 grub_free (can);
145 op = ofdisk_hash_add (name, can);
263 "can't read device properties");
270 return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "can't read the device type");
342 return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "can't open device");
351 "seek error, can't seek block %llu",
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/pod/
H A Dplainer.t52 C<uv < 0x80> in which case you can use C<*s = uv>.
53 C<uv E<lt> 0x80> in which case you can use C<*s = uv>.
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/scalar/
H A Dscalar.pm31 on a scalar variable. All the normal file operations can be performed
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/DBM_Filter/
H A Dnull.pm41 all data written to the DBM file can be read by the C application.
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/MakeMaker/
H A Dbytes.pm32 pragma and must be used at compile time we can't simply wrap it in
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A Dconfig.t24 ok ($mbi->can('config'));
47 ok ($mbf->can('config'));

Completed in 32 milliseconds

1234567891011>>