Types of attribute and then describe it.
Answer / mahesh
use Attribute::Types;
my $count : INTEGER; # Can only store an integer
my $date : INTEGER(1..31); # Can only store an int
between 1..31
my $value : NUMBER; # Can only store a number
my $score : NUMBER(0.1..9.9); # Can only store a num
between 0.1..9.9
my @rain : NUMBER; # Elements can only
store numbers
my %vars : SCALAR; # Entries can only
store scalar refs
my %handler : CODE; # Entries can only
store sub refs
my $arr : ARRAY; # Can only store array ref
my @hashes : HASH; # Elements can only
store hash refs
my $glob : GLOB; # Can only store a
typeglob ref
my $pattern : REGEX; # Can only store a qr'd
regex
my $ref2 : REF; # Can only store a
meta-reference
my $obj : Type(My::Class); # Can only store
objects of (or
# derived from) the
specified class
my $x : Type(/good|bad|ugly/); # Can only store
strings matching
# the specified regex
sub odd { no warnings; $_[0]%2 }
my $guarded : Type(&odd); # Can only store values
for which
# odd($value) returns true
| Is This Answer Correct ? | 0 Yes | 0 No |
wind flows 160 miles in 330 min, for 80 miles how much time required.
please send indian bank officers scale previous papers to my mail id i.e mounica84@gmail.com
5) Failure to use null indicator variable when referencing a nullable column will give the following SQLCODE a) +150 b) –001 c) +276 d) +305
CALIBRATION PROCEDURE FOR HPLC
Given a rectangular (cuboidal for the puritans) cake with a rectangular piece removed (any size or orientation), how would you cut the remainder of the cake into two equal halves with one straight cut of a knife?
what is the next number in the series 3,26,15,124,
Find the next three terms of the series; 1, 4, 9, 18, 35 - - - - -
can u send me last 5 years data entry operator exams' solved paper ?(SSC)
A person has his own coach&whenever he goes to railway station he takes his coach.One day he was supposed to reach the railway station at 5 O'clock.But he finished his work early and reached at 3 O'clock. Then he rung up his residence and asked to send the coach immediately. He came to know that the coach has left just now to tje railway station. He thought that the coach has left just now to the railway station.He thought that he should not waste his time and started moving towards his residence at the speed of 3mi/hr.On the way,he gets the coach and reaches home at 6 o'clock.How far is his residence from railway station.
One Former come there in one railway station.. And he take two full of coconut sack... Each sack full of 100 coconut. Then he reach his place between the 100 station's.Then every one station the former give one coconut each one sack. Finally how many coconut in this former's hand..
A cubical rectangular bar has the dimensions with the ratio 5 : 4 : 3. Its volume is 7500. What is the surface area of the bar?
In a certain format TUBUJPO is coded as STATION. The code of which string is FILTER?