use Net::Lorcon2 qw(:subs); my $driver = "iwlwifi"; my $if = "wlo1"; print Net::Lorcon2::lorcon_create($if, $driver);