Brad Wiemerslage wrote:
//try to print out what is in the hash
2 best ways of seeing inside data structures in Perl
1) perl -d your-script
DB<1> b (somewhere)
DB<2> c
DB<3> x $somevar
x does a depth-first print of all elements
2) use Data::Dumper (now standard with 5.005)
iirc
print dump ($somevar)
rtfm to be sure
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.