Skip to content

Commit 5384a7b

Browse files
committed
/tmp/gv.storable
1 parent ee213f0 commit 5384a7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sbw-parse.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# cat /dev/shm/neighbors.tab | grep MikroTik | tee /dev/stderr | awk '{ print $7 "_" $8 " " $3 }' > /tmp/name-mac
1111
# NAME_MAC=/tmp/name-mac ./sbw-parse.pl
1212

13+
use Storable;
1314
use Data::Dump qw(dump);
1415

1516
$|=1; # flush stdout
@@ -282,6 +283,7 @@ sub fake_gv {
282283
}
283284

284285
print "# gv = ",dump( $gv );
286+
Storable::store( $gv, '/tmp/gv.storable' );
285287

286288
open(my $dot_fh, '>', '/dev/shm/network.dot');
287289
print $dot_fh qq|

0 commit comments

Comments
 (0)