|
NAMEData::Frame::Partial::Sugar - Partial class for data frame syntax sugar VERSIONversion 0.006004 SYNOPSIS use Data::Frame::Examples qw(mtcars);
# A key of string type does at() or set()
my $col1 = $mtcars->{mpg}; # $mtcars->at('mpg');
$mtcars->{kpg} = $mtcars->{mpg} * 1.609; # $mtcars->set('kpg', ...);
# A key of reference does slice()
my $col2 = $mtcars->{ ['mpg'] }; # $mtcars->slice(['mpg']);
my $subset = $mtcars->{ [qw(mpg cyl)] }; # $mtcars->slice([qw(mpg cyl]);
DESCRIPTIONDo not use this module in your code. This is only internally used by Data::Frame. SEE ALSOData::Frame AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2014, 2019-2022 by Zakariyya Mughal, Stephan Loyd. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|