lorcon_lsit_driver is: $VAR1 = [ { 'name' => 'rtfile', 'details' => 'Real-time PCAP file source' }, { 'details' => 'PCAP file source', 'name' => 'file' }, { 'name' => 'madwifing', 'details' => 'Linux madwifi-ng drivers, deprecated by ath5k and ath9k' }, { 'name' => 'tuntap', 'details' => 'Linux tuntap virtual interface drivers' } ]; #### print Net::Lorcon2::lorcon_create("wlo1", $driver); #where $driver can be madwifing or other it says: Net::Lorcon2::lorcon_create: driver is not a reference at -e line 3. #### print Net::Lorcon2::lorcon_create("wlo1", \$driver); #where $driver can be madwifing or other it says segmentation error (core dump created)